#CFCC97#CFCC97

#CFCC97 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.070 H 105.1°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CFCC97
RGBrgb(207, 204, 151)
HSLhsl(57, 37%, 70%)
HSVhsv(57, 27%, 81%)
CMYKcmyk(0%, 1.4%, 27.1%, 18.8%)
CIE-LABlab(81.12, -7.30, 26.87)
CIE-LCHlch(81.12, 27.84, 105.21°)
OKLaboklab(83.47% -0.0182 0.0676)
OKLCHoklch(83.47% 0.07 105.1)
XYZxyz(52.9110, 58.6864, 37.8125)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC97 #979ACF
analogous
#CFB097 #CFCC97 #B6CF97
triadic
#CFCC97 #97CFCC #CC97CF
tetradic
#CFCC97 #97CFB0 #979ACF #CF97B6
square
#CFCC97 #97CFB0 #979ACF #CF97B6
split-complementary
#CFCC97 #97B6CF #B097CF
monochromatic
#A19D4A #BCB76D #CFCC97 #E2E1C1 #F5F5EA

Accessibility & contrast

On white

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

On black

12.74
#CFCC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC97
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC97#FFFFFF#000000##000000
##CFCC971.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcc97;
/* rgb */ color: rgb(207, 204, 151);
/* oklch */ color: oklch(83.5% 0.070 105.1);
Tailwind
colors: {
  custom: {
    50: '#dedbb6',
    500: '#cfcc97',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc97;
$custom-light: #dedbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc97",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 56.786,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83466,
    "c": 0.07002,
    "h": 105.1
  },
  "luminance": 0.58685
}

Semantic roles & 50–950 ramp

primary
#CFCC97
secondary
#6669A5
accent
#3CB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCC97

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

Preview Lab → · Contrast checker → · Palette generator →

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