#CFCF97#CFCF97

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

Color values

HEX#CFCF97
RGBrgb(207, 207, 151)
HSLhsl(60, 37%, 70%)
HSVhsv(60, 27%, 81%)
CMYKcmyk(0%, 0%, 27.1%, 18.8%)
CIE-LABlab(81.91, -8.84, 27.93)
CIE-LCHlch(81.91, 29.29, 107.57°)
OKLaboklab(84.09% -0.0226 0.0701)
OKLCHoklch(84.09% 0.074 107.9)
XYZxyz(53.6310, 60.1262, 38.0524)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF97 #9797CF
analogous
#CFB397 #CFCF97 #B3CF97
triadic
#CFCF97 #97CFCF #CF97CF
tetradic
#CFCF97 #97CFB3 #9797CF #CF97B3
square
#CFCF97 #97CFB3 #9797CF #CF97B3
split-complementary
#CFCF97 #97B3CF #B397CF
monochromatic
#A1A14A #BCBC6D #CFCF97 #E2E2C1 #F5F5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF97#FFFFFF#000000##000000
##CFCF971.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)
#D8CA93
Deuteranopia (green-blind)
#D9CD99
Tritanopia (blue-blind)
#D7C8C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfcf97;
/* rgb */ color: rgb(207, 207, 151);
/* oklch */ color: oklch(84.1% 0.074 107.9);
Tailwind
colors: {
  custom: {
    50: '#deddb6',
    500: '#cfcf97',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf97;
$custom-light: #deddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf97",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8409,
    "c": 0.0737,
    "h": 107.9
  },
  "luminance": 0.60125
}

Semantic roles & 50–950 ramp

primary
#CFCF97
secondary
#6666A5
accent
#36B036
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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