#C8D796#C8D796

#C8D796 is a very light, moderate yellow-green. Relative luminance 0.631; OKLCH L 85.2% C 0.087 H 118.8°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#C8D796
RGBrgb(200, 215, 150)
HSLhsl(74, 45%, 72%)
HSVhsv(74, 30%, 84%)
CMYKcmyk(7%, 0%, 30.2%, 15.7%)
CIE-LABlab(83.49, -15.66, 30.47)
CIE-LCHlch(83.49, 34.26, 117.21°)
OKLaboklab(85.21% -0.042 0.0762)
OKLCHoklch(85.21% 0.087 118.8)
XYZxyz(53.6246, 63.0824, 38.1994)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D796 #A596D7
analogous
#D7C696 #C8D796 #A8D796
triadic
#C8D796 #96C8D7 #D796C8
tetradic
#C8D796 #96D7C6 #A596D7 #D796A8
square
#C8D796 #96D7C6 #A596D7 #D796A8
split-complementary
#C8D796 #96A8D7 #C696D7
monochromatic
#97B043 #B1C66A #C8D796 #DFE8C2 #F3F7E9

Accessibility & contrast

On white

1.54
#C8D796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#C8D796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D796
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D796#FFFFFF#000000##000000
##C8D7961.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD092
Deuteranopia (green-blind)
#DED099
Tritanopia (blue-blind)
#CED0C6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d796;
/* rgb */ color: rgb(200, 215, 150);
/* oklch */ color: oklch(85.2% 0.087 118.8);
Tailwind
colors: {
  custom: {
    50: '#d9e3b5',
    500: '#c8d796',
    950: '#000000',
  },
}
SCSS
$custom: #c8d796;
$custom-light: #d9e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d796",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 73.846,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85209,
    "c": 0.08697,
    "h": 118.8
  },
  "luminance": 0.63082
}

Semantic roles & 50–950 ramp

primary
#C8D796
secondary
#7563AE
accent
#2EB84D
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #C8D796

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

Preview Lab → · Contrast checker → · Palette generator →

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