#C8CD97#C8CD97

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

Color values

HEX#C8CD97
RGBrgb(200, 205, 151)
HSLhsl(66, 35%, 70%)
HSVhsv(66, 26%, 80%)
CMYKcmyk(2.4%, 0%, 26.3%, 19.6%)
CIE-LABlab(80.84, -10.47, 26.39)
CIE-LCHlch(80.84, 28.40, 111.64°)
OKLaboklab(83.11% -0.0272 0.0665)
OKLCHoklch(83.11% 0.072 112.3)
XYZxyz(51.2365, 58.1769, 37.8023)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD97 #9C97CD
analogous
#CDB797 #C8CD97 #ADCD97
triadic
#C8CD97 #97C8CD #CD97C8
tetradic
#C8CD97 #97CDB7 #9C97CD #CD97AD
square
#C8CD97 #97CDB7 #9C97CD #CD97AD
split-complementary
#C8CD97 #97ADCD #B797CD
monochromatic
#969E4C #B2B96E #C8CD97 #DEE1C0 #F4F5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CD97#FFFFFF#000000##000000
##C8CD971.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)
#D5C893
Deuteranopia (green-blind)
#D5C999
Tritanopia (blue-blind)
#CFC7BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8cd97;
/* rgb */ color: rgb(200, 205, 151);
/* oklch */ color: oklch(83.1% 0.072 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9dcb6',
    500: '#c8cd97',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd97;
$custom-light: #d9dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd97",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 65.556,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83108,
    "c": 0.07183,
    "h": 112.3
  },
  "luminance": 0.58176
}

Semantic roles & 50–950 ramp

primary
#C8CD97
secondary
#6C66A2
accent
#38AE43
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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