#CFCE96#CFCE96

#CFCE96 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.074 H 107.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CFCE96
RGBrgb(207, 206, 150)
HSLhsl(59, 37%, 70%)
HSVhsv(59, 28%, 81%)
CMYKcmyk(0%, 0.5%, 27.5%, 18.8%)
CIE-LABlab(81.63, -8.46, 28.07)
CIE-LCHlch(81.63, 29.32, 106.77°)
OKLaboklab(83.86% -0.0216 0.0705)
OKLCHoklch(83.86% 0.074 107)
XYZxyz(53.3086, 59.6109, 37.5460)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE96 #9697CF
analogous
#CFB196 #CFCE96 #B4CF96
triadic
#CFCE96 #96CFCE #CE96CF
tetradic
#CFCE96 #96CFB1 #9697CF #CF96B4
square
#CFCE96 #96CFB1 #9697CF #CF96B4
split-complementary
#CFCE96 #96B4CF #B196CF
monochromatic
#A19F4A #BCBA6C #CFCE96 #E2E2C0 #F5F5EA

Accessibility & contrast

On white

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

On black

12.92
#CFCE96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE96
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE96#FFFFFF#000000##000000
##CFCE961.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfce96;
/* rgb */ color: rgb(207, 206, 150);
/* oklch */ color: oklch(83.9% 0.074 107.0);
Tailwind
colors: {
  custom: {
    50: '#dedcb5',
    500: '#cfce96',
    950: '#000000',
  },
}
SCSS
$custom: #cfce96;
$custom-light: #dedcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce96",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 150
  },
  "hsl": {
    "h": 58.947,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.83862,
    "c": 0.07369,
    "h": 107
  },
  "luminance": 0.5961
}

Semantic roles & 50–950 ramp

primary
#CFCE96
secondary
#6566A5
accent
#37B035
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCE96

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

Preview Lab → · Contrast checker → · Palette generator →

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