#CDC33B#CDC33B

#CDC33B is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.151 H 105.1°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CDC33B
RGBrgb(205, 195, 59)
HSLhsl(56, 59%, 52%)
HSVhsv(56, 71%, 80%)
CMYKcmyk(0%, 4.9%, 71.2%, 19.6%)
CIE-LABlab(77.48, -11.83, 65.70)
CIE-LCHlch(77.48, 66.76, 100.20°)
OKLaboklab(80.18% -0.0392 0.1456)
OKLCHoklch(80.18% 0.151 105.1)
XYZxyz(45.4832, 52.3268, 11.8411)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC33B #3B45CD
analogous
#CD7A3B #CDC33B #8ECD3B
triadic
#CDC33B #3BCDC3 #C33BCD
tetradic
#CDC33B #3BCD7A #3B45CD #CD3B8E
square
#CDC33B #3BCD7A #3B45CD #CD3B8E
split-complementary
#CDC33B #3B8ECD #7A3BCD
monochromatic
#716B1D #A29929 #CDC33B #D9D26C #E6E19D

Accessibility & contrast

On white

1.83
#CDC33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CDC33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC33B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC33B#FFFFFF#000000##000000
##CDC33B1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#DCB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc33b;
/* rgb */ color: rgb(205, 195, 59);
/* oklch */ color: oklch(80.2% 0.151 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d47a',
    500: '#cdc33b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc33b;
$custom-light: #e0d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc33b",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 55.89,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80177,
    "c": 0.15077,
    "h": 105.1
  },
  "luminance": 0.52325
}

Semantic roles & 50–950 ramp

primary
#CDC33B
secondary
#32377A
accent
#50E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC33B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CDC33B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva