#CDCD2F

A color in the Yellow, Gold family

#cdcd2f is a color in the Yellow, Gold family: RGB(205, 205, 47), HSL(60°, 63%, 49%), CMYK(0%, 0%, 77%, 20%). Closest named color: yellowgreen. Contrast is 1.7:1 on white and 12.37:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cdcd2f
RGBrgb(205 205 47)
RGB (legacy)rgb(205, 205, 47)
RGB %rgb(80% 80% 18%)
HSLhsl(60 63% 49%)
HSV / HSBhsv(60, 77%, 80%)
HWBhwb(60 18% 20%)
CMYKcmyk(0%, 0%, 77%, 20%)
CIELAB (D50)lab(80.47 -12.69 71.46)
LCHlch(80.47 72.58 100.07)
OKLaboklab(0.8225 -0.0558 0.157)
OKLCHoklch(0.8225 0.1666 109.56)
Decimal13487407

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.6
Closest web-safe color#cccc33
Hue60°
Saturation (HSL / HSV)63% / 77%
Lightness (HSL)49%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)73% / 76%
Relative luminance (WCAG)0.5685
Red / Green / Blue205 / 205 / 47

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.70:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.37:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 30.2 / -72.6 · As background with white / black text: Lc -33.9 / 73.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cdcd2f;
  --color-brand-oklch: oklch(82.25% 0.1666 109.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 205 47 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdcd2f] text-[#cdcd2f] border-[#cdcd2f]">