#CDC24A#CDC24A

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

Color values

HEX#CDC24A
RGBrgb(205, 194, 74)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.4%, 63.9%, 19.6%)
CIE-LABlab(77.32, -10.50, 59.66)
CIE-LCHlch(77.32, 60.58, 99.98°)
OKLaboklab(80.08% -0.0339 0.1353)
OKLCHoklch(80.08% 0.139 104.1)
XYZxyz(45.7064, 52.0588, 14.1180)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC24A #4A55CD
analogous
#CD814A #CDC24A #96CD4A
triadic
#CDC24A #4ACDC2 #C24ACD
tetradic
#CDC24A #4ACD81 #4A55CD #CD4A96
square
#CDC24A #4ACD81 #4A55CD #CD4A96
split-complementary
#CDC24A #4A96CD #814ACD
monochromatic
#7B7322 #ABA02F #CDC24A #DAD27A #E7E2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC24A#FFFFFF#000000##000000
##CDC24A1.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)
#D2BC3B
Deuteranopia (green-blind)
#D6C251
Tritanopia (blue-blind)
#DCB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc24a;
/* rgb */ color: rgb(205, 194, 74);
/* oklch */ color: oklch(80.1% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd482',
    500: '#cdc24a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc24a;
$custom-light: #dfd482;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc24a",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 54.962,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80084,
    "c": 0.13948,
    "h": 104.1
  },
  "luminance": 0.52057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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