#C8D799#C8D799

#C8D799 is a very light, moderate yellow-green. Relative luminance 0.632; OKLCH L 85.3% C 0.083 H 119.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#C8D799
RGBrgb(200, 215, 153)
HSLhsl(75, 44%, 72%)
HSVhsv(75, 29%, 84%)
CMYKcmyk(7%, 0%, 28.8%, 15.7%)
CIE-LABlab(83.54, -15.26, 28.99)
CIE-LCHlch(83.54, 32.76, 117.76°)
OKLaboklab(85.27% -0.0407 0.0727)
OKLCHoklch(85.27% 0.083 119.2)
XYZxyz(53.8693, 63.1803, 39.4879)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D799 #A899D7
analogous
#D7C799 #C8D799 #A9D799
triadic
#C8D799 #99C8D7 #D799C8
tetradic
#C8D799 #99D7C7 #A899D7 #D799A9
square
#C8D799 #99D7C7 #A899D7 #D799A9
split-complementary
#C8D799 #99A9D7 #C799D7
monochromatic
#96B045 #B0C66D #C8D799 #E0E8C5 #F3F6E9

Accessibility & contrast

On white

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

On black

13.64
#C8D799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D799
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D799#FFFFFF#000000##000000
##C8D7991.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD095
Deuteranopia (green-blind)
#DDD09C
Tritanopia (blue-blind)
#CED1C7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d799;
/* rgb */ color: rgb(200, 215, 153);
/* oklch */ color: oklch(85.3% 0.083 119.2);
Tailwind
colors: {
  custom: {
    50: '#d9e3b7',
    500: '#c8d799',
    950: '#000000',
  },
}
SCSS
$custom: #c8d799;
$custom-light: #d9e3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d799",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 74.516,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85266,
    "c": 0.08336,
    "h": 119.2
  },
  "luminance": 0.6318
}

Semantic roles & 50–950 ramp

primary
#C8D799
secondary
#7866AE
accent
#2FB750
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8D799

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

Preview Lab → · Contrast checker → · Palette generator →

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