#CFCB97#CFCB97

#CFCB97 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.069 H 104.1°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CFCB97
RGBrgb(207, 203, 151)
HSLhsl(56, 37%, 70%)
HSVhsv(56, 27%, 81%)
CMYKcmyk(0%, 1.9%, 27.1%, 18.8%)
CIE-LABlab(80.86, -6.79, 26.51)
CIE-LCHlch(80.86, 27.37, 104.36°)
OKLaboklab(83.26% -0.0168 0.0668)
OKLCHoklch(83.26% 0.069 104.1)
XYZxyz(52.6741, 58.2126, 37.7335)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB97 #979BCF
analogous
#CFAF97 #CFCB97 #B7CF97
triadic
#CFCB97 #97CFCB #CB97CF
tetradic
#CFCB97 #97CFAF #979BCF #CF97B7
square
#CFCB97 #97CFAF #979BCF #CF97B7
split-complementary
#CFCB97 #97B7CF #AF97CF
monochromatic
#A19B4A #BCB66D #CFCB97 #E2E0C1 #F5F5EA

Accessibility & contrast

On white

1.66
#CFCB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CFCB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB97
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB97#FFFFFF#000000##000000
##CFCB971.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C794
Deuteranopia (green-blind)
#D6CA99
Tritanopia (blue-blind)
#D7C4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcb97;
/* rgb */ color: rgb(207, 203, 151);
/* oklch */ color: oklch(83.3% 0.069 104.1);
Tailwind
colors: {
  custom: {
    50: '#dedab6',
    500: '#cfcb97',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb97;
$custom-light: #dedab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb97",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 151
  },
  "hsl": {
    "h": 55.714,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83258,
    "c": 0.06882,
    "h": 104.1
  },
  "luminance": 0.58212
}

Semantic roles & 50–950 ramp

primary
#CFCB97
secondary
#666AA5
accent
#3EB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCB97

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

Preview Lab → · Contrast checker → · Palette generator →

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