#CDC85E#CDC85E

#CDC85E is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.128 H 106.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC85E
RGBrgb(205, 200, 94)
HSLhsl(57, 53%, 59%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.4%, 54.1%, 19.6%)
CIE-LABlab(79.10, -12.14, 52.79)
CIE-LCHlch(79.10, 54.16, 102.95°)
OKLaboklab(81.56% -0.0364 0.1232)
OKLCHoklch(81.56% 0.128 106.4)
XYZxyz(47.8529, 55.0973, 18.7016)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC85E #5E63CD
analogous
#CD905E #CDC85E #9ACD5E
triadic
#CDC85E #5ECDC8 #C85ECD
tetradic
#CDC85E #5ECD90 #5E63CD #CD5E9A
square
#CDC85E #5ECD90 #5E63CD #CD5E9A
split-complementary
#CDC85E #5E9ACD #905ECD
monochromatic
#87832A #B5B038 #CDC85E #DCD88D #EAE8BB

Accessibility & contrast

On white

1.75
#CDC85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CDC85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC85E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC85E#FFFFFF#000000##000000
##CDC85E1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C154
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#DABDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc85e;
/* rgb */ color: rgb(205, 200, 94);
/* oklch */ color: oklch(81.6% 0.128 106.4);
Tailwind
colors: {
  custom: {
    50: '#dfd88f',
    500: '#cdc85e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc85e;
$custom-light: #dfd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc85e",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 57.297,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8156,
    "c": 0.12848,
    "h": 106.4
  },
  "luminance": 0.55096
}

Semantic roles & 50–950 ramp

primary
#CDC85E
secondary
#41458E
accent
#52DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC85E

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

Preview Lab → · Contrast checker → · Palette generator →

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