#CDCE96#CDCE96

#CDCE96 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.074 H 108.8°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#CDCE96
RGBrgb(205, 206, 150)
HSLhsl(61, 36%, 70%)
HSVhsv(61, 27%, 81%)
CMYKcmyk(0.5%, 0%, 27.2%, 19.2%)
CIE-LABlab(81.47, -9.22, 27.84)
CIE-LCHlch(81.47, 29.32, 108.33°)
OKLaboklab(83.7% -0.0237 0.0699)
OKLCHoklch(83.7% 0.074 108.8)
XYZxyz(52.7532, 59.3245, 37.5200)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE96 #9796CE
analogous
#CEB396 #CDCE96 #B1CE96
triadic
#CDCE96 #96CDCE #CE96CD
tetradic
#CDCE96 #96CEB3 #9796CE #CE96B1
square
#CDCE96 #96CEB3 #9796CE #CE96B1
split-complementary
#CDCE96 #96B1CE #B396CE
monochromatic
#9E9F4A #B9BB6C #CDCE96 #E1E1C0 #F5F5E9

Accessibility & contrast

On white

1.63
#CDCE96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#CDCE96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE96
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE96#FFFFFF#000000##000000
##CDCE961.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C992
Deuteranopia (green-blind)
#D8CC98
Tritanopia (blue-blind)
#D5C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdce96;
/* rgb */ color: rgb(205, 206, 150);
/* oklch */ color: oklch(83.7% 0.074 108.8);
Tailwind
colors: {
  custom: {
    50: '#dddcb5',
    500: '#cdce96',
    950: '#000000',
  },
}
SCSS
$custom: #cdce96;
$custom-light: #dddcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce96",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 150
  },
  "hsl": {
    "h": 61.071,
    "s": 36.364,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83699,
    "c": 0.07382,
    "h": 108.8
  },
  "luminance": 0.59324
}

Semantic roles & 50–950 ramp

primary
#CDCE96
secondary
#6665A3
accent
#36AF38
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCE96

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

Preview Lab → · Contrast checker → · Palette generator →

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