#C8CA97#C8CA97

#C8CA97 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.068 H 109.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C8CA97
RGBrgb(200, 202, 151)
HSLhsl(62, 32%, 69%)
HSVhsv(62, 25%, 79%)
CMYKcmyk(1%, 0%, 25.2%, 20.8%)
CIE-LABlab(80.04, -8.94, 25.32)
CIE-LCHlch(80.04, 26.85, 109.44°)
OKLaboklab(82.48% -0.0228 0.0639)
OKLCHoklch(82.48% 0.068 109.7)
XYZxyz(50.5258, 56.7554, 37.5654)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA97 #9997CA
analogous
#CAB397 #C8CA97 #AFCA97
triadic
#C8CA97 #97C8CA #CA97C8
tetradic
#C8CA97 #97CAB3 #9997CA #CA97AF
square
#C8CA97 #97CAB3 #9997CA #CA97AF
split-complementary
#C8CA97 #97AFCA #B397CA
monochromatic
#96994E #B3B56E #C8CA97 #DDDFC0 #F3F3E8

Accessibility & contrast

On white

1.70
#C8CA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#C8CA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA97
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA97#FFFFFF#000000##000000
##C8CA971.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C594
Deuteranopia (green-blind)
#D3C799
Tritanopia (blue-blind)
#CFC4BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8ca97;
/* rgb */ color: rgb(200, 202, 151);
/* oklch */ color: oklch(82.5% 0.068 109.7);
Tailwind
colors: {
  custom: {
    50: '#d9dab6',
    500: '#c8ca97',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca97;
$custom-light: #d9dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca97",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 62.353,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82478,
    "c": 0.06785,
    "h": 109.7
  },
  "luminance": 0.56755
}

Semantic roles & 50–950 ramp

primary
#C8CA97
secondary
#69669F
accent
#3AAB3F
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C8CA97

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

Preview Lab → · Contrast checker → · Palette generator →

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