#C8F172#C8F172

#C8F172 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.3% C 0.161 H 124.4°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#C8F172
RGBrgb(200, 241, 114)
HSLhsl(79, 82%, 70%)
HSVhsv(79, 53%, 95%)
CMYKcmyk(17%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.05, -32.24, 56.28)
CIE-LCHlch(90.05, 64.86, 119.81°)
OKLaboklab(90.31% -0.0909 0.1328)
OKLCHoklch(90.31% 0.161 124.4)
XYZxyz(58.3121, 76.4044, 27.5918)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F172 #9B72F1
analogous
#F1DA72 #C8F172 #89F172
triadic
#C8F172 #72C8F1 #F172C8
tetradic
#C8F172 #72F1DA #9B72F1 #F17289
square
#C8F172 #72F1DA #9B72F1 #F17289
split-complementary
#C8F172 #7289F1 #DA72F1
monochromatic
#96D415 #B2EB3A #C8F172 #DEF7AA #F3FCE1

Accessibility & contrast

On white

1.29
#C8F172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#C8F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F172
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F172#FFFFFF#000000##000000
##C8F1721.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#D0E7D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c8f172;
/* rgb */ color: rgb(200, 241, 114);
/* oklch */ color: oklch(90.3% 0.161 124.4);
Tailwind
colors: {
  custom: {
    50: '#dbf59e',
    500: '#c8f172',
    950: '#000000',
  },
}
SCSS
$custom: #c8f172;
$custom-light: #dbf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f172",
  "rgb": {
    "r": 200,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 79.37,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90306,
    "c": 0.16093,
    "h": 124.4
  },
  "luminance": 0.76405
}

Semantic roles & 50–950 ramp

primary
#C8F172
secondary
#6B3DCA
accent
#07DE4D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F172

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

Preview Lab → · Contrast checker → · Palette generator →

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