#C8F97E#C8F97E

#C8F97E is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.2% C 0.160 H 127.2°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#C8F97E
RGBrgb(200, 249, 126)
HSLhsl(84, 91%, 74%)
HSVhsv(84, 49%, 98%)
CMYKcmyk(19.7%, 0%, 49.4%, 2.4%)
CIE-LABlab(92.37, -34.74, 53.55)
CIE-LCHlch(92.37, 63.83, 122.97°)
OKLaboklab(92.22% -0.097 0.1277)
OKLCHoklch(92.22% 0.16 127.2)
XYZxyz(61.4607, 81.5362, 32.2347)
Luminance0.8154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F97E #AF7EF9
analogous
#F9EC7E #C8F97E #8AF97E
triadic
#C8F97E #7EC8F9 #F97EC8
tetradic
#C8F97E #7EF9EC #AF7EF9 #F97E8A
square
#C8F97E #7EF9EC #AF7EF9 #F97E8A
split-complementary
#C8F97E #7E8AF9 #EC7EF9
monochromatic
#96F10B #AFF644 #C8F97E #E1FCB8 #F3FEE2

Accessibility & contrast

On white

1.21
#C8F97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#C8F97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F97E
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F97E#FFFFFF#000000##000000
##C8F97E1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FDE885
Tritanopia (blue-blind)
#CEF0DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f97e;
/* rgb */ color: rgb(200, 249, 126);
/* oklch */ color: oklch(92.2% 0.160 127.2);
Tailwind
colors: {
  custom: {
    50: '#dbfba6',
    500: '#c8f97e',
    950: '#000000',
  },
}
SCSS
$custom: #c8f97e;
$custom-light: #dbfba6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f97e",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 83.902,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92221,
    "c": 0.16037,
    "h": 127.2
  },
  "luminance": 0.81537
}

Semantic roles & 50–950 ramp

primary
#C8F97E
secondary
#7F45D6
accent
#00E65B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F97E

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

Preview Lab → · Contrast checker → · Palette generator →

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