#CDC94A#CDC94A

#CDC94A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.146 H 107.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDC94A
RGBrgb(205, 201, 74)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2%, 63.9%, 19.6%)
CIE-LABlab(79.18, -14.05, 61.63)
CIE-LCHlch(79.18, 63.21, 102.84°)
OKLaboklab(81.57% -0.044 0.1395)
OKLCHoklch(81.57% 0.146 107.5)
XYZxyz(47.3011, 55.2483, 14.6496)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC94A #4A4ECD
analogous
#CD884A #CDC94A #90CD4A
triadic
#CDC94A #4ACDC9 #C94ACD
tetradic
#CDC94A #4ACD88 #4A4ECD #CD4A90
square
#CDC94A #4ACD88 #4A4ECD #CD4A90
split-complementary
#CDC94A #4A90CD #884ACD
monochromatic
#7B7822 #ABA72F #CDC94A #DAD77A #E7E6AA

Accessibility & contrast

On white

1.74
#CDC94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CDC94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC94A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC94A#FFFFFF#000000##000000
##CDC94A1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C139
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc94a;
/* rgb */ color: rgb(205, 201, 74);
/* oklch */ color: oklch(81.6% 0.146 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#cdc94a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc94a;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc94a",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 58.168,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81571,
    "c": 0.14622,
    "h": 107.5
  },
  "luminance": 0.55247
}

Semantic roles & 50–950 ramp

primary
#CDC94A
secondary
#383B83
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC94A

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

Preview Lab → · Contrast checker → · Palette generator →

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