#CDC94E#CDC94E

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

Color values

HEX#CDC94E
RGBrgb(205, 201, 78)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2%, 62%, 19.6%)
CIE-LABlab(79.22, -13.80, 60.00)
CIE-LCHlch(79.22, 61.57, 102.95°)
OKLaboklab(81.61% -0.0428 0.1366)
OKLCHoklch(81.61% 0.143 107.4)
XYZxyz(47.4402, 55.3040, 15.3820)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC94E #4E52CD
analogous
#CD894E #CDC94E #92CD4E
triadic
#CDC94E #4ECDC9 #C94ECD
tetradic
#CDC94E #4ECD89 #4E52CD #CD4E92
square
#CDC94E #4ECD89 #4E52CD #CD4E92
split-complementary
#CDC94E #4E92CD #894ECD
monochromatic
#7D7A23 #ADA931 #CDC94E #DAD87E #E8E6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC94E#FFFFFF#000000##000000
##CDC94E1.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)
#D9C23F
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc94e;
/* rgb */ color: rgb(205, 201, 78);
/* oklch */ color: oklch(81.6% 0.143 107.4);
Tailwind
colors: {
  custom: {
    50: '#dfd985',
    500: '#cdc94e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc94e;
$custom-light: #dfd985;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc94e",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 58.11,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81607,
    "c": 0.14316,
    "h": 107.4
  },
  "luminance": 0.55302
}

Semantic roles & 50–950 ramp

primary
#CDC94E
secondary
#3A3D85
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC94E

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

Preview Lab → · Contrast checker → · Palette generator →

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