#CDC94C#CDC94C

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

Color values

HEX#CDC94C
RGBrgb(205, 201, 76)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2%, 62.9%, 19.6%)
CIE-LABlab(79.20, -13.92, 60.82)
CIE-LCHlch(79.20, 62.39, 102.89°)
OKLaboklab(81.59% -0.0434 0.138)
OKLCHoklch(81.59% 0.145 107.5)
XYZxyz(47.3696, 55.2757, 15.0101)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC94C #4C50CD
analogous
#CD894C #CDC94C #90CD4C
triadic
#CDC94C #4CCDC9 #C94CCD
tetradic
#CDC94C #4CCD89 #4C50CD #CD4C90
square
#CDC94C #4CCD89 #4C50CD #CD4C90
split-complementary
#CDC94C #4C90CD #894CCD
monochromatic
#7C7923 #ACA830 #CDC94C #DAD77C #E8E6AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC94C#FFFFFF#000000##000000
##CDC94C1.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)
#D9C13C
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc94c;
/* rgb */ color: rgb(205, 201, 76);
/* oklch */ color: oklch(81.6% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd984',
    500: '#cdc94c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc94c;
$custom-light: #dfd984;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc94c",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 58.14,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81589,
    "c": 0.1447,
    "h": 107.5
  },
  "luminance": 0.55274
}

Semantic roles & 50–950 ramp

primary
#CDC94C
secondary
#393C84
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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