#C8D797#C8D797

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

Color values

HEX#C8D797
RGBrgb(200, 215, 151)
HSLhsl(74, 44%, 72%)
HSVhsv(74, 30%, 84%)
CMYKcmyk(7%, 0%, 29.8%, 15.7%)
CIE-LABlab(83.50, -15.53, 29.98)
CIE-LCHlch(83.50, 33.76, 117.39°)
OKLaboklab(85.23% -0.0415 0.075)
OKLCHoklch(85.23% 0.086 119)
XYZxyz(53.7055, 63.1148, 38.6252)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D797 #A697D7
analogous
#D7C697 #C8D797 #A8D797
triadic
#C8D797 #97C8D7 #D797C8
tetradic
#C8D797 #97D7C6 #A697D7 #D797A8
square
#C8D797 #97D7C6 #A697D7 #D797A8
split-complementary
#C8D797 #97A8D7 #C697D7
monochromatic
#97B044 #B1C66B #C8D797 #DFE8C3 #F3F6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D797#FFFFFF#000000##000000
##C8D7971.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)
#DFD093
Deuteranopia (green-blind)
#DDD09A
Tritanopia (blue-blind)
#CED0C6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d797;
/* rgb */ color: rgb(200, 215, 151);
/* oklch */ color: oklch(85.2% 0.086 119.0);
Tailwind
colors: {
  custom: {
    50: '#d9e3b6',
    500: '#c8d797',
    950: '#000000',
  },
}
SCSS
$custom: #c8d797;
$custom-light: #d9e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d797",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 74.063,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85228,
    "c": 0.08577,
    "h": 119
  },
  "luminance": 0.63115
}

Semantic roles & 50–950 ramp

primary
#C8D797
secondary
#7664AE
accent
#2EB84E
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #C8D797

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

Preview Lab → · Contrast checker → · Palette generator →

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