#C8F97A#C8F97A

#C8F97A is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.2% C 0.164 H 126.8°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#C8F97A
RGBrgb(200, 249, 122)
HSLhsl(83, 91%, 73%)
HSVhsv(83, 51%, 98%)
CMYKcmyk(19.7%, 0%, 51%, 2.4%)
CIE-LABlab(92.33, -35.14, 55.33)
CIE-LCHlch(92.33, 65.55, 122.42°)
OKLaboklab(92.17% -0.0984 0.1314)
OKLCHoklch(92.17% 0.164 126.8)
XYZxyz(61.2077, 81.4351, 30.9024)
Luminance0.8144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F97A #AB7AF9
analogous
#F9EB7A #C8F97A #88F97A
triadic
#C8F97A #7AC8F9 #F97AC8
tetradic
#C8F97A #7AF9EB #AB7AF9 #F97A88
square
#C8F97A #7AF9EB #AB7AF9 #F97A88
split-complementary
#C8F97A #7A88F9 #EB7AF9
monochromatic
#96EE0B #B0F63F #C8F97A #E0FCB5 #F3FEE2

Accessibility & contrast

On white

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

On black

17.29
#C8F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F97A
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F97A#FFFFFF#000000##000000
##C8F97A1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#CEEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f97a;
/* rgb */ color: rgb(200, 249, 122);
/* oklch */ color: oklch(92.2% 0.164 126.8);
Tailwind
colors: {
  custom: {
    50: '#dbfba3',
    500: '#c8f97a',
    950: '#000000',
  },
}
SCSS
$custom: #c8f97a;
$custom-light: #dbfba3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f97a",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 83.15,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9217,
    "c": 0.16412,
    "h": 126.8
  },
  "luminance": 0.81436
}

Semantic roles & 50–950 ramp

primary
#C8F97A
secondary
#7B42D5
accent
#00E659
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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