#CDC24B#CDC24B

#CDC24B is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.139 H 104.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CDC24B
RGBrgb(205, 194, 75)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 5.4%, 63.4%, 19.6%)
CIE-LABlab(77.32, -10.44, 59.25)
CIE-LCHlch(77.32, 60.16, 99.99°)
OKLaboklab(80.09% -0.0336 0.1346)
OKLCHoklch(80.09% 0.139 104)
XYZxyz(45.7403, 52.0724, 14.2968)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC24B #4B56CD
analogous
#CD814B #CDC24B #97CD4B
triadic
#CDC24B #4BCDC2 #C24BCD
tetradic
#CDC24B #4BCD81 #4B56CD #CD4B97
square
#CDC24B #4BCD81 #4B56CD #CD4B97
split-complementary
#CDC24B #4B97CD #814BCD
monochromatic
#7B7422 #ABA130 #CDC24B #DAD27B #E8E2AB

Accessibility & contrast

On white

1.84
#CDC24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CDC24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC24B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC24B#FFFFFF#000000##000000
##CDC24B1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3C
Deuteranopia (green-blind)
#D6C252
Tritanopia (blue-blind)
#DCB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc24b;
/* rgb */ color: rgb(205, 194, 75);
/* oklch */ color: oklch(80.1% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd483',
    500: '#cdc24b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc24b;
$custom-light: #dfd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc24b",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 54.923,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80093,
    "c": 0.13871,
    "h": 104
  },
  "luminance": 0.52071
}

Semantic roles & 50–950 ramp

primary
#CDC24B
secondary
#393F83
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC24B

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

Preview Lab → · Contrast checker → · Palette generator →

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