#CDC24E#CDC24E

#CDC24E 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.42:1 contrast (WCAG AA passes).

Color values

HEX#CDC24E
RGBrgb(205, 194, 78)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 5.4%, 62%, 19.6%)
CIE-LABlab(77.35, -10.24, 58.00)
CIE-LCHlch(77.35, 58.90, 100.02°)
OKLaboklab(80.12% -0.0328 0.1324)
OKLCHoklch(80.12% 0.136 103.9)
XYZxyz(45.8454, 52.1144, 14.8504)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC24E #4E59CD
analogous
#CD824E #CDC24E #98CD4E
triadic
#CDC24E #4ECDC2 #C24ECD
tetradic
#CDC24E #4ECD82 #4E59CD #CD4E98
square
#CDC24E #4ECD82 #4E59CD #CD4E98
split-complementary
#CDC24E #4E98CD #824ECD
monochromatic
#7D7523 #ADA231 #CDC24E #DAD27E #E8E3AD

Accessibility & contrast

On white

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

On black

11.42
#CDC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC24E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC24E#FFFFFF#000000##000000
##CDC24E1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc24e;
/* rgb */ color: rgb(205, 194, 78);
/* oklch */ color: oklch(80.1% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd484',
    500: '#cdc24e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc24e;
$custom-light: #dfd484;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc24e",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 54.803,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80121,
    "c": 0.13635,
    "h": 103.9
  },
  "luminance": 0.52113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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