#CFCC96#CFCC96

#CFCC96 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.071 H 105.2°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CFCC96
RGBrgb(207, 204, 150)
HSLhsl(57, 37%, 70%)
HSVhsv(57, 28%, 81%)
CMYKcmyk(0%, 1.4%, 27.5%, 18.8%)
CIE-LABlab(81.10, -7.44, 27.37)
CIE-LCHlch(81.10, 28.36, 105.20°)
OKLaboklab(83.45% -0.0186 0.0688)
OKLCHoklch(83.45% 0.071 105.2)
XYZxyz(52.8302, 58.6540, 37.3866)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC96 #9699CF
analogous
#CFAF96 #CFCC96 #B6CF96
triadic
#CFCC96 #96CFCC #CC96CF
tetradic
#CFCC96 #96CFAF #9699CF #CF96B6
square
#CFCC96 #96CFAF #9699CF #CF96B6
split-complementary
#CFCC96 #96B6CF #AF96CF
monochromatic
#A19C4A #BCB86C #CFCC96 #E2E0C0 #F5F5EA

Accessibility & contrast

On white

1.65
#CFCC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CFCC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC96
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC96#FFFFFF#000000##000000
##CFCC961.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C892
Deuteranopia (green-blind)
#D7CB98
Tritanopia (blue-blind)
#D7C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc96;
/* rgb */ color: rgb(207, 204, 150);
/* oklch */ color: oklch(83.4% 0.071 105.2);
Tailwind
colors: {
  custom: {
    50: '#dedbb5',
    500: '#cfcc96',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc96;
$custom-light: #dedbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc96",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 150
  },
  "hsl": {
    "h": 56.842,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.83446,
    "c": 0.07125,
    "h": 105.2
  },
  "luminance": 0.58653
}

Semantic roles & 50–950 ramp

primary
#CFCC96
secondary
#6568A5
accent
#3CB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCC96

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

Preview Lab → · Contrast checker → · Palette generator →

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