#C8D795#C8D795

#C8D795 is a very light, moderate yellow-green. Relative luminance 0.630; OKLCH L 85.2% C 0.088 H 118.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#C8D795
RGBrgb(200, 215, 149)
HSLhsl(74, 45%, 71%)
HSVhsv(74, 31%, 84%)
CMYKcmyk(7%, 0%, 30.7%, 15.7%)
CIE-LABlab(83.47, -15.80, 30.96)
CIE-LCHlch(83.47, 34.76, 117.03°)
OKLaboklab(85.19% -0.0424 0.0773)
OKLCHoklch(85.19% 0.088 118.7)
XYZxyz(53.5444, 63.0504, 37.7771)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D795 #A495D7
analogous
#D7C595 #C8D795 #A7D795
triadic
#C8D795 #95C8D7 #D795C8
tetradic
#C8D795 #95D7C5 #A495D7 #D795A7
square
#C8D795 #95D7C5 #A495D7 #D795A7
split-complementary
#C8D795 #95A7D7 #C595D7
monochromatic
#97AF42 #B1C669 #C8D795 #DFE8C1 #F3F7E9

Accessibility & contrast

On white

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

On black

13.61
#C8D795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D795
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D795#FFFFFF#000000##000000
##C8D7951.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d795;
/* rgb */ color: rgb(200, 215, 149);
/* oklch */ color: oklch(85.2% 0.088 118.7);
Tailwind
colors: {
  custom: {
    50: '#d9e3b4',
    500: '#c8d795',
    950: '#000000',
  },
}
SCSS
$custom: #c8d795;
$custom-light: #d9e3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d795",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 73.636,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.8519,
    "c": 0.08818,
    "h": 118.7
  },
  "luminance": 0.6305
}

Semantic roles & 50–950 ramp

primary
#C8D795
secondary
#7462AE
accent
#2DB84D
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #C8D795

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

Preview Lab → · Contrast checker → · Palette generator →

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