#CFCD97#CFCD97

#CFCD97 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.071 H 106.1°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CFCD97
RGBrgb(207, 205, 151)
HSLhsl(58, 37%, 70%)
HSVhsv(58, 27%, 81%)
CMYKcmyk(0%, 1%, 27.1%, 18.8%)
CIE-LABlab(81.38, -7.82, 27.22)
CIE-LCHlch(81.38, 28.32, 106.02°)
OKLaboklab(83.67% -0.0197 0.0685)
OKLCHoklch(83.67% 0.071 106.1)
XYZxyz(53.1495, 59.1633, 37.8919)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD97 #9799CF
analogous
#CFB197 #CFCD97 #B5CF97
triadic
#CFCD97 #97CFCD #CD97CF
tetradic
#CFCD97 #97CFB1 #9799CF #CF97B5
square
#CFCD97 #97CFB1 #9799CF #CF97B5
split-complementary
#CFCD97 #97B5CF #B197CF
monochromatic
#A19E4A #BCB96D #CFCD97 #E2E1C1 #F5F5EA

Accessibility & contrast

On white

1.64
#CFCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CFCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD97
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD97#FFFFFF#000000##000000
##CFCD971.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C993
Deuteranopia (green-blind)
#D8CB99
Tritanopia (blue-blind)
#D7C6BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd97;
/* rgb */ color: rgb(207, 205, 151);
/* oklch */ color: oklch(83.7% 0.071 106.1);
Tailwind
colors: {
  custom: {
    50: '#dedcb6',
    500: '#cfcd97',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd97;
$custom-light: #dedcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd97",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 57.857,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83673,
    "c": 0.07123,
    "h": 106.1
  },
  "luminance": 0.59162
}

Semantic roles & 50–950 ramp

primary
#CFCD97
secondary
#6668A5
accent
#3AB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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