#CDC96E#CDC96E

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

Color values

HEX#CDC96E
RGBrgb(205, 201, 110)
HSLhsl(57, 49%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2%, 46.3%, 19.6%)
CIE-LABlab(79.55, -11.24, 45.69)
CIE-LCHlch(79.55, 47.05, 103.83°)
OKLaboklab(81.98% -0.0322 0.1092)
OKLCHoklch(81.98% 0.114 106.4)
XYZxyz(48.8790, 55.8795, 22.9598)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC96E #6E72CD
analogous
#CD9A6E #CDC96E #A2CD6E
triadic
#CDC96E #6ECDC9 #C96ECD
tetradic
#CDC96E #6ECD9A #6E72CD #CD6EA2
square
#CDC96E #6ECD9A #6E72CD #CD6EA2
split-complementary
#CDC96E #6EA2CD #9A6ECD
monochromatic
#8F8B31 #BDB841 #CDC96E #DDDA9C #ECEBC9

Accessibility & contrast

On white

1.72
#CDC96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CDC96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC96E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC96E#FFFFFF#000000##000000
##CDC96E1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C366
Deuteranopia (green-blind)
#D9C772
Tritanopia (blue-blind)
#D9BFB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc96e;
/* rgb */ color: rgb(205, 201, 110);
/* oklch */ color: oklch(82.0% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded999',
    500: '#cdc96e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc96e;
$custom-light: #ded999;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc96e",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 110
  },
  "hsl": {
    "h": 57.474,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81975,
    "c": 0.11384,
    "h": 106.4
  },
  "luminance": 0.55878
}

Semantic roles & 50–950 ramp

primary
#CDC96E
secondary
#4A4D96
accent
#30BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC96E

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

Preview Lab → · Contrast checker → · Palette generator →

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