#CDC96D#CDC96D

#CDC96D is a light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.115 H 106.5°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CDC96D
RGBrgb(205, 201, 109)
HSLhsl(58, 49%, 62%)
HSVhsv(58, 47%, 80%)
CMYKcmyk(0%, 2%, 46.8%, 19.6%)
CIE-LABlab(79.53, -11.34, 46.16)
CIE-LCHlch(79.53, 47.54, 103.80°)
OKLaboklab(81.96% -0.0326 0.1102)
OKLCHoklch(81.96% 0.115 106.5)
XYZxyz(48.8249, 55.8578, 22.6747)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC96D #6D71CD
analogous
#CD996D #CDC96D #A1CD6D
triadic
#CDC96D #6DCDC9 #C96DCD
tetradic
#CDC96D #6DCD99 #6D71CD #CD6DA1
square
#CDC96D #6DCD99 #6D71CD #CD6DA1
split-complementary
#CDC96D #6DA1CD #996DCD
monochromatic
#8F8B31 #BCB740 #CDC96D #DDDA9B #ECEBC8

Accessibility & contrast

On white

1.73
#CDC96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CDC96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC96D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC96D#FFFFFF#000000##000000
##CDC96D1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C365
Deuteranopia (green-blind)
#D9C771
Tritanopia (blue-blind)
#D9BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc96d;
/* rgb */ color: rgb(205, 201, 109);
/* oklch */ color: oklch(82.0% 0.115 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded999',
    500: '#cdc96d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc96d;
$custom-light: #ded999;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc96d",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 109
  },
  "hsl": {
    "h": 57.5,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81961,
    "c": 0.11487,
    "h": 106.5
  },
  "luminance": 0.55857
}

Semantic roles & 50–950 ramp

primary
#CDC96D
secondary
#494C95
accent
#2FBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC96D

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

Preview Lab → · Contrast checker → · Palette generator →

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