#C8E97A#C8E97A

#C8E97A is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.6% C 0.143 H 123.0°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#C8E97A
RGBrgb(200, 233, 122)
HSLhsl(78, 72%, 70%)
HSVhsv(78, 48%, 91%)
CMYKcmyk(14.2%, 0%, 47.6%, 8.6%)
CIE-LABlab(87.95, -27.72, 50.07)
CIE-LCHlch(87.95, 57.23, 118.97°)
OKLaboklab(88.65% -0.0776 0.1198)
OKLCHoklch(88.65% 0.143 123)
XYZxyz(56.4713, 71.9622, 29.3236)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E97A #9B7AE9
analogous
#E9D37A #C8E97A #91E97A
triadic
#C8E97A #7AC8E9 #E97AC8
tetradic
#C8E97A #7AE9D3 #9B7AE9 #E97A91
square
#C8E97A #7AE9D3 #9B7AE9 #E97A91
split-complementary
#C8E97A #7A91E9 #D37AE9
monochromatic
#96C821 #B2E045 #C8E97A #DEF2AF #F3FAE3

Accessibility & contrast

On white

1.36
#C8E97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#C8E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E97A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E97A#FFFFFF#000000##000000
##C8E97A1.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD70
Deuteranopia (green-blind)
#F0DC80
Tritanopia (blue-blind)
#D0E0CF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c8e97a;
/* rgb */ color: rgb(200, 233, 122);
/* oklch */ color: oklch(88.6% 0.143 123.0);
Tailwind
colors: {
  custom: {
    50: '#daf0a3',
    500: '#c8e97a',
    950: '#000000',
  },
}
SCSS
$custom: #c8e97a;
$custom-light: #daf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e97a",
  "rgb": {
    "r": 200,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 77.838,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88649,
    "c": 0.14274,
    "h": 123
  },
  "luminance": 0.71962
}

Semantic roles & 50–950 ramp

primary
#C8E97A
secondary
#6B46C1
accent
#12D44B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #C8E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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