#C8CB97#C8CB97

#C8CB97 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.069 H 110.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#C8CB97
RGBrgb(200, 203, 151)
HSLhsl(63, 33%, 69%)
HSVhsv(63, 26%, 80%)
CMYKcmyk(1.5%, 0%, 25.6%, 20.4%)
CIE-LABlab(80.31, -9.45, 25.68)
CIE-LCHlch(80.31, 27.36, 110.21°)
OKLaboklab(82.69% -0.0243 0.0648)
OKLCHoklch(82.69% 0.069 110.6)
XYZxyz(50.7612, 57.2262, 37.6438)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB97 #9A97CB
analogous
#CBB497 #C8CB97 #AECB97
triadic
#C8CB97 #97C8CB #CB97C8
tetradic
#C8CB97 #97CBB4 #9A97CB #CB97AE
square
#C8CB97 #97CBB4 #9A97CB #CB97AE
split-complementary
#C8CB97 #97AECB #B497CB
monochromatic
#969A4D #B2B76E #C8CB97 #DEDFC0 #F3F4E9

Accessibility & contrast

On white

1.69
#C8CB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#C8CB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB97
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB97#FFFFFF#000000##000000
##C8CB971.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C694
Deuteranopia (green-blind)
#D4C899
Tritanopia (blue-blind)
#CFC5BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cb97;
/* rgb */ color: rgb(200, 203, 151);
/* oklch */ color: oklch(82.7% 0.069 110.6);
Tailwind
colors: {
  custom: {
    50: '#d9dab6',
    500: '#c8cb97',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb97;
$custom-light: #d9dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb97",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 151
  },
  "hsl": {
    "h": 63.462,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82688,
    "c": 0.06916,
    "h": 110.6
  },
  "luminance": 0.57226
}

Semantic roles & 50–950 ramp

primary
#C8CB97
secondary
#6A66A0
accent
#39AC40
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C8CB97

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

Preview Lab → · Contrast checker → · Palette generator →

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