#CDCF96#CDCF96

#CDCF96 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.075 H 109.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CDCF96
RGBrgb(205, 207, 150)
HSLhsl(62, 37%, 70%)
HSVhsv(62, 28%, 81%)
CMYKcmyk(1%, 0%, 27.5%, 18.8%)
CIE-LABlab(81.73, -9.73, 28.19)
CIE-LCHlch(81.73, 29.82, 109.05°)
OKLaboklab(83.91% -0.0252 0.0707)
OKLCHoklch(83.91% 0.075 109.6)
XYZxyz(52.9947, 59.8075, 37.6005)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF96 #9896CF
analogous
#CFB496 #CDCF96 #B1CF96
triadic
#CDCF96 #96CDCF #CF96CD
tetradic
#CDCF96 #96CFB4 #9896CF #CF96B1
square
#CDCF96 #96CFB4 #9896CF #CF96B1
split-complementary
#CDCF96 #96B1CF #B496CF
monochromatic
#9EA14A #B9BC6C #CDCF96 #E1E2C0 #F5F5EA

Accessibility & contrast

On white

1.62
#CDCF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CDCF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF96
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF96#FFFFFF#000000##000000
##CDCF961.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA92
Deuteranopia (green-blind)
#D9CC98
Tritanopia (blue-blind)
#D5C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf96;
/* rgb */ color: rgb(205, 207, 150);
/* oklch */ color: oklch(83.9% 0.075 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb5',
    500: '#cdcf96',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf96;
$custom-light: #ddddb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf96",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 150
  },
  "hsl": {
    "h": 62.105,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.83908,
    "c": 0.0751,
    "h": 109.6
  },
  "luminance": 0.59807
}

Semantic roles & 50–950 ramp

primary
#CDCF96
secondary
#6765A5
accent
#35B03A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF96

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

Preview Lab → · Contrast checker → · Palette generator →

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