#CDC94D#CDC94D

#CDC94D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.144 H 107.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CDC94D
RGBrgb(205, 201, 77)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2%, 62.4%, 19.6%)
CIE-LABlab(79.21, -13.86, 60.41)
CIE-LCHlch(79.21, 61.98, 102.92°)
OKLaboklab(81.6% -0.0431 0.1373)
OKLCHoklch(81.6% 0.144 107.4)
XYZxyz(47.4046, 55.2897, 15.1946)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC94D #4D51CD
analogous
#CD894D #CDC94D #91CD4D
triadic
#CDC94D #4DCDC9 #C94DCD
tetradic
#CDC94D #4DCD89 #4D51CD #CD4D91
square
#CDC94D #4DCD89 #4D51CD #CD4D91
split-complementary
#CDC94D #4D91CD #894DCD
monochromatic
#7D7A23 #ACA930 #CDC94D #DAD77D #E8E6AD

Accessibility & contrast

On white

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

On black

12.06
#CDC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC94D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC94D#FFFFFF#000000##000000
##CDC94D1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc94d;
/* rgb */ color: rgb(205, 201, 77);
/* oklch */ color: oklch(81.6% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#dfd984',
    500: '#cdc94d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc94d;
$custom-light: #dfd984;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc94d",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 58.125,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81598,
    "c": 0.14394,
    "h": 107.4
  },
  "luminance": 0.55288
}

Semantic roles & 50–950 ramp

primary
#CDC94D
secondary
#3A3C84
accent
#4DDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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