#C8F972#C8F972

#C8F972 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.171 H 126.2°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#C8F972
RGBrgb(200, 249, 114)
HSLhsl(82, 92%, 71%)
HSVhsv(82, 54%, 98%)
CMYKcmyk(19.7%, 0%, 54.2%, 2.4%)
CIE-LABlab(92.24, -35.90, 58.84)
CIE-LCHlch(92.24, 68.92, 121.39°)
OKLaboklab(92.07% -0.1011 0.1383)
OKLCHoklch(92.07% 0.171 126.2)
XYZxyz(60.7323, 81.2449, 28.3985)
Luminance0.8125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F972 #A372F9
analogous
#F9E772 #C8F972 #84F972
triadic
#C8F972 #72C8F9 #F972C8
tetradic
#C8F972 #72F9E7 #A372F9 #F97284
square
#C8F972 #72F9E7 #A372F9 #F97284
split-complementary
#C8F972 #7284F9 #E772F9
monochromatic
#97E70A #B1F737 #C8F972 #DFFBAD #F4FEE2

Accessibility & contrast

On white

1.22
#C8F972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#C8F972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F972
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F972#FFFFFF#000000##000000
##C8F9721.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#CFEFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f972;
/* rgb */ color: rgb(200, 249, 114);
/* oklch */ color: oklch(92.1% 0.171 126.2);
Tailwind
colors: {
  custom: {
    50: '#dbfb9e',
    500: '#c8f972',
    950: '#000000',
  },
}
SCSS
$custom: #c8f972;
$custom-light: #dbfb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f972",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 81.778,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92075,
    "c": 0.17134,
    "h": 126.2
  },
  "luminance": 0.81246
}

Semantic roles & 50–950 ramp

primary
#C8F972
secondary
#733BD4
accent
#00E653
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F972

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

Preview Lab → · Contrast checker → · Palette generator →

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