#CDC85D#CDC85D

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

Color values

HEX#CDC85D
RGBrgb(205, 200, 93)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 2.4%, 54.6%, 19.6%)
CIE-LABlab(79.09, -12.22, 53.24)
CIE-LCHlch(79.09, 54.62, 102.92°)
OKLaboklab(81.55% -0.0367 0.1241)
OKLCHoklch(81.55% 0.129 106.5)
XYZxyz(47.8083, 55.0794, 18.4668)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC85D #5D62CD
analogous
#CD905D #CDC85D #9ACD5D
triadic
#CDC85D #5DCDC8 #C85DCD
tetradic
#CDC85D #5DCD90 #5D62CD #CD5D9A
square
#CDC85D #5DCD90 #5D62CD #CD5D9A
split-complementary
#CDC85D #5D9ACD #905DCD
monochromatic
#868229 #B5AF38 #CDC85D #DBD88C #EAE8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC85D#FFFFFF#000000##000000
##CDC85D1.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)
#D7C152
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#DABDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc85d;
/* rgb */ color: rgb(205, 200, 93);
/* oklch */ color: oklch(81.5% 0.129 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfd88e',
    500: '#cdc85d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc85d;
$custom-light: #dfd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc85d",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 57.321,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81549,
    "c": 0.12939,
    "h": 106.5
  },
  "luminance": 0.55078
}

Semantic roles & 50–950 ramp

primary
#CDC85D
secondary
#41448D
accent
#52DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC85D

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

Preview Lab → · Contrast checker → · Palette generator →

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