#C8D996#C8D996

#C8D996 is a very light, moderate yellow-green. Relative luminance 0.641; OKLCH L 85.6% C 0.090 H 119.9°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#C8D996
RGBrgb(200, 217, 150)
HSLhsl(75, 47%, 72%)
HSVhsv(75, 31%, 85%)
CMYKcmyk(7.8%, 0%, 30.9%, 14.9%)
CIE-LABlab(84.02, -16.66, 31.18)
CIE-LCHlch(84.02, 35.36, 118.12°)
OKLaboklab(85.64% -0.0448 0.0779)
OKLCHoklch(85.64% 0.09 119.9)
XYZxyz(54.1370, 64.1072, 38.3702)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D996 #A796D9
analogous
#D9C996 #C8D996 #A7D996
triadic
#C8D996 #96C8D9 #D996C8
tetradic
#C8D996 #96D9C9 #A796D9 #D996A7
square
#C8D996 #96D9C9 #A796D9 #D996A7
split-complementary
#C8D996 #96A7D9 #C996D9
monochromatic
#97B441 #B0C969 #C8D996 #E0E9C3 #F3F7E9

Accessibility & contrast

On white

1.52
#C8D996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#C8D996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D996
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D996#FFFFFF#000000##000000
##C8D9961.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D291
Deuteranopia (green-blind)
#DFD299
Tritanopia (blue-blind)
#CED2C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c8d996;
/* rgb */ color: rgb(200, 217, 150);
/* oklch */ color: oklch(85.6% 0.090 119.9);
Tailwind
colors: {
  custom: {
    50: '#d9e4b5',
    500: '#c8d996',
    950: '#000000',
  },
}
SCSS
$custom: #c8d996;
$custom-light: #d9e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d996",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 75.224,
    "s": 46.853,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85636,
    "c": 0.08983,
    "h": 119.9
  },
  "luminance": 0.64107
}

Semantic roles & 50–950 ramp

primary
#C8D996
secondary
#7763B0
accent
#2BBA50
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #C8D996

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

Preview Lab → · Contrast checker → · Palette generator →

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