#CFCF96#CFCF96

#CFCF96 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.075 H 107.9°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#CFCF96
RGBrgb(207, 207, 150)
HSLhsl(60, 37%, 70%)
HSVhsv(60, 28%, 81%)
CMYKcmyk(0%, 0%, 27.5%, 18.8%)
CIE-LABlab(81.89, -8.97, 28.43)
CIE-LCHlch(81.89, 29.81, 107.52°)
OKLaboklab(84.07% -0.023 0.0713)
OKLCHoklch(84.07% 0.075 107.9)
XYZxyz(53.5501, 60.0939, 37.6265)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF96 #9696CF
analogous
#CFB396 #CFCF96 #B3CF96
triadic
#CFCF96 #96CFCF #CF96CF
tetradic
#CFCF96 #96CFB3 #9696CF #CF96B3
square
#CFCF96 #96CFB3 #9696CF #CF96B3
split-complementary
#CFCF96 #96B2CF #B296CF
monochromatic
#A1A14A #BCBC6C #CFCF96 #E2E2C0 #F5F5EA

Accessibility & contrast

On white

1.61
#CFCF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#CFCF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF96
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF96#FFFFFF#000000##000000
##CFCF961.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA92
Deuteranopia (green-blind)
#D9CD98
Tritanopia (blue-blind)
#D7C8C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfcf96;
/* rgb */ color: rgb(207, 207, 150);
/* oklch */ color: oklch(84.1% 0.075 107.9);
Tailwind
colors: {
  custom: {
    50: '#deddb5',
    500: '#cfcf96',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf96;
$custom-light: #deddb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf96",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.8407,
    "c": 0.07493,
    "h": 107.9
  },
  "luminance": 0.60093
}

Semantic roles & 50–950 ramp

primary
#CFCF96
secondary
#6565A5
accent
#35B035
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF96

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

Preview Lab → · Contrast checker → · Palette generator →

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