#CDC24C#CDC24C

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

Color values

HEX#CDC24C
RGBrgb(205, 194, 76)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 5.4%, 62.9%, 19.6%)
CIE-LABlab(77.33, -10.37, 58.84)
CIE-LCHlch(77.33, 59.74, 100.00°)
OKLaboklab(80.1% -0.0333 0.1338)
OKLCHoklch(80.1% 0.138 104)
XYZxyz(45.7748, 52.0862, 14.4785)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC24C #4C57CD
analogous
#CD824C #CDC24C #97CD4C
triadic
#CDC24C #4CCDC2 #C24CCD
tetradic
#CDC24C #4CCD82 #4C57CD #CD4C97
square
#CDC24C #4CCD82 #4C57CD #CD4C97
split-complementary
#CDC24C #4C97CD #824CCD
monochromatic
#7C7423 #ACA130 #CDC24C #DAD27C #E8E3AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC24C#FFFFFF#000000##000000
##CDC24C1.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)
#D2BC3E
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#DCB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc24c;
/* rgb */ color: rgb(205, 194, 76);
/* oklch */ color: oklch(80.1% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd483',
    500: '#cdc24c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc24c;
$custom-light: #dfd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc24c",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 54.884,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80102,
    "c": 0.13793,
    "h": 104
  },
  "luminance": 0.52085
}

Semantic roles & 50–950 ramp

primary
#CDC24C
secondary
#394084
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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