#CDCB21

A color in the Yellow, Gold family

#cdcb21 is a color in the Yellow, Gold family: RGB(205, 203, 33), HSL(59°, 72%, 47%), CMYK(0%, 1%, 84%, 20%). Closest named color: yellowgreen. Contrast is 1.73:1 on white and 12.16:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cdcb21
RGBrgb(205 203 33)
RGB (legacy)rgb(205, 203, 33)
RGB %rgb(80% 80% 13%)
HSLhsl(59 72% 47%)
HSV / HSBhsv(59, 84%, 80%)
HWBhwb(59 13% 20%)
CMYKcmyk(0%, 1%, 84%, 20%)
CIELAB (D50)lab(79.89 -12.06 74.48)
LCHlch(79.89 75.45 99.2)
OKLaboklab(0.8175 -0.0552 0.1613)
OKLCHoklch(0.8175 0.1704 108.9)
Decimal13486881

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.5
Closest web-safe color#cccc33
Hue59°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)72% / 75%
Relative luminance (WCAG)0.558
Red / Green / Blue205 / 203 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.73:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.16: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 31 / -71.7 · As background with white / black text: Lc -34.9 / 72.8

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: #cdcb21;
  --color-brand-oklch: oklch(81.75% 0.1704 108.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 203 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdcb21] text-[#cdcb21] border-[#cdcb21]">