#CDC24F#CDC24F

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

Color values

HEX#CDC24F
RGBrgb(205, 194, 79)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 5.4%, 61.5%, 19.6%)
CIE-LABlab(77.36, -10.18, 57.57)
CIE-LCHlch(77.36, 58.47, 100.03°)
OKLaboklab(80.13% -0.0325 0.1316)
OKLCHoklch(80.13% 0.136 103.9)
XYZxyz(45.8816, 52.1289, 15.0407)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC24F #4F5ACD
analogous
#CD834F #CDC24F #99CD4F
triadic
#CDC24F #4FCDC2 #C24FCD
tetradic
#CDC24F #4FCD83 #4F5ACD #CD4F99
square
#CDC24F #4FCD83 #4F5ACD #CD4F99
split-complementary
#CDC24F #4F99CD #834FCD
monochromatic
#7E7624 #AEA331 #CDC24F #DBD37F #E8E3AE

Accessibility & contrast

On white

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

On black

11.43
#CDC24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC24F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC24F#FFFFFF#000000##000000
##CDC24F1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#DBB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc24f;
/* rgb */ color: rgb(205, 194, 79);
/* oklch */ color: oklch(80.1% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd485',
    500: '#cdc24f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc24f;
$custom-light: #dfd485;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc24f",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 54.762,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80131,
    "c": 0.13554,
    "h": 103.9
  },
  "luminance": 0.52127
}

Semantic roles & 50–950 ramp

primary
#CDC24F
secondary
#3B4186
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC24F

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

Preview Lab → · Contrast checker → · Palette generator →

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