#CDC24D#CDC24D

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

Color values

HEX#CDC24D
RGBrgb(205, 194, 77)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 5.4%, 62.4%, 19.6%)
CIE-LABlab(77.34, -10.31, 58.42)
CIE-LCHlch(77.34, 59.32, 100.01°)
OKLaboklab(80.11% -0.0331 0.1331)
OKLCHoklch(80.11% 0.137 103.9)
XYZxyz(45.8099, 52.1002, 14.6630)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC24D #4D58CD
analogous
#CD824D #CDC24D #98CD4D
triadic
#CDC24D #4DCDC2 #C24DCD
tetradic
#CDC24D #4DCD82 #4D58CD #CD4D98
square
#CDC24D #4DCD82 #4D58CD #CD4D98
split-complementary
#CDC24D #4D98CD #824DCD
monochromatic
#7D7523 #ACA230 #CDC24D #DAD27D #E8E3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC24D#FFFFFF#000000##000000
##CDC24D1.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)
#D2BC3F
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc24d;
/* rgb */ color: rgb(205, 194, 77);
/* oklch */ color: oklch(80.1% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd484',
    500: '#cdc24d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc24d;
$custom-light: #dfd484;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc24d",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 54.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80112,
    "c": 0.13714,
    "h": 103.9
  },
  "luminance": 0.52099
}

Semantic roles & 50–950 ramp

primary
#CDC24D
secondary
#3A4084
accent
#55DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC24D

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

Preview Lab → · Contrast checker → · Palette generator →

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