#CFCD96#CFCD96

#CFCD96 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.072 H 106.1°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CFCD96
RGBrgb(207, 205, 150)
HSLhsl(58, 37%, 70%)
HSVhsv(58, 28%, 81%)
CMYKcmyk(0%, 1%, 27.5%, 18.8%)
CIE-LABlab(81.36, -7.95, 27.72)
CIE-LCHlch(81.36, 28.84, 106.00°)
OKLaboklab(83.65% -0.0201 0.0696)
OKLCHoklch(83.65% 0.072 106.1)
XYZxyz(53.0686, 59.1309, 37.4660)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD96 #9698CF
analogous
#CFB196 #CFCD96 #B4CF96
triadic
#CFCD96 #96CFCD #CD96CF
tetradic
#CFCD96 #96CFB1 #9698CF #CF96B4
square
#CFCD96 #96CFB1 #9698CF #CF96B4
split-complementary
#CFCD96 #96B4CF #B196CF
monochromatic
#A19E4A #BCB96C #CFCD96 #E2E1C0 #F5F5EA

Accessibility & contrast

On white

1.64
#CFCD96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CFCD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD96
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD96#FFFFFF#000000##000000
##CFCD961.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C992
Deuteranopia (green-blind)
#D8CB98
Tritanopia (blue-blind)
#D7C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd96;
/* rgb */ color: rgb(207, 205, 150);
/* oklch */ color: oklch(83.7% 0.072 106.1);
Tailwind
colors: {
  custom: {
    50: '#dedcb5',
    500: '#cfcd96',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd96;
$custom-light: #dedcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd96",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 57.895,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.83654,
    "c": 0.07247,
    "h": 106.1
  },
  "luminance": 0.5913
}

Semantic roles & 50–950 ramp

primary
#CFCD96
secondary
#6567A5
accent
#3AB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD96

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

Preview Lab → · Contrast checker → · Palette generator →

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