#CFCE97#CFCE97

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

Color values

HEX#CFCE97
RGBrgb(207, 206, 151)
HSLhsl(59, 37%, 70%)
HSVhsv(59, 27%, 81%)
CMYKcmyk(0%, 0.5%, 27.1%, 18.8%)
CIE-LABlab(81.64, -8.33, 27.57)
CIE-LCHlch(81.64, 28.81, 106.81°)
OKLaboklab(83.88% -0.0212 0.0693)
OKLCHoklch(83.88% 0.072 107)
XYZxyz(53.3895, 59.6432, 37.9719)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE97 #9798CF
analogous
#CFB297 #CFCE97 #B4CF97
triadic
#CFCE97 #97CFCE #CE97CF
tetradic
#CFCE97 #97CFB2 #9798CF #CF97B4
square
#CFCE97 #97CFB2 #9798CF #CF97B4
split-complementary
#CFCE97 #97B4CF #B297CF
monochromatic
#A1A04A #BCBA6D #CFCE97 #E2E2C1 #F5F5EA

Accessibility & contrast

On white

1.62
#CFCE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#CFCE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE97
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE97#FFFFFF#000000##000000
##CFCE971.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfce97;
/* rgb */ color: rgb(207, 206, 151);
/* oklch */ color: oklch(83.9% 0.072 107.0);
Tailwind
colors: {
  custom: {
    50: '#dedcb6',
    500: '#cfce97',
    950: '#000000',
  },
}
SCSS
$custom: #cfce97;
$custom-light: #dedcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce97",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 151
  },
  "hsl": {
    "h": 58.929,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83881,
    "c": 0.07245,
    "h": 107
  },
  "luminance": 0.59642
}

Semantic roles & 50–950 ramp

primary
#CFCE97
secondary
#6667A5
accent
#38B036
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCE97

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

Preview Lab → · Contrast checker → · Palette generator →

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