#C8CF97#C8CF97

#C8CF97 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.075 H 113.8°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#C8CF97
RGBrgb(200, 207, 151)
HSLhsl(68, 37%, 70%)
HSVhsv(68, 27%, 81%)
CMYKcmyk(3.4%, 0%, 27.1%, 18.8%)
CIE-LABlab(81.37, -11.49, 27.11)
CIE-LCHlch(81.37, 29.45, 112.97°)
OKLaboklab(83.53% -0.0301 0.0682)
OKLCHoklch(83.53% 0.075 113.8)
XYZxyz(51.7180, 59.1398, 37.9628)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF97 #9E97CF
analogous
#CFBA97 #C8CF97 #ACCF97
triadic
#C8CF97 #97C8CF #CF97C8
tetradic
#C8CF97 #97CFBA #9E97CF #CF97AC
square
#C8CF97 #97CFBA #9E97CF #CF97AC
split-complementary
#C8CF97 #97ACCF #BA97CF
monochromatic
#96A14A #B2BC6D #C8CF97 #DEE2C1 #F4F5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CF97#FFFFFF#000000##000000
##C8CF971.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)
#D7CA93
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#CFC9C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8cf97;
/* rgb */ color: rgb(200, 207, 151);
/* oklch */ color: oklch(83.5% 0.075 113.8);
Tailwind
colors: {
  custom: {
    50: '#d9ddb6',
    500: '#c8cf97',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf97;
$custom-light: #d9ddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf97",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 67.5,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8353,
    "c": 0.07455,
    "h": 113.8
  },
  "luminance": 0.59139
}

Semantic roles & 50–950 ramp

primary
#C8CF97
secondary
#6E66A5
accent
#36B045
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8CF97

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

Preview Lab → · Contrast checker → · Palette generator →

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