#C0F172#C0F172

#C0F172 is a very light, vivid yellow-green. Relative luminance 0.753; OKLCH L 89.8% C 0.164 H 127.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#C0F172
RGBrgb(192, 241, 114)
HSLhsl(83, 82%, 70%)
HSVhsv(83, 53%, 95%)
CMYKcmyk(20.3%, 0%, 52.7%, 5.5%)
CIE-LABlab(89.55, -35.21, 55.57)
CIE-LCHlch(89.55, 65.78, 122.36°)
OKLaboklab(89.78% -0.0988 0.1313)
OKLCHoklch(89.78% 0.164 127)
XYZxyz(56.2306, 75.3312, 27.4942)
Luminance0.7533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0F172 #A372F1
analogous
#F1E372 #C0F172 #81F172
triadic
#C0F172 #72C0F1 #F172C0
tetradic
#C0F172 #72F1E3 #A372F1 #F17281
square
#C0F172 #72F1E3 #A372F1 #F17281
split-complementary
#C0F172 #7281F1 #E372F1
monochromatic
#8AD415 #A7EB3A #C0F172 #D9F7AA #F2FCE1

Accessibility & contrast

On white

1.31
#C0F172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#C0F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0F172
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0F172#FFFFFF#000000##000000
##C0F1721.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE366
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#C6E7D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c0f172;
/* rgb */ color: rgb(192, 241, 114);
/* oklch */ color: oklch(89.8% 0.164 127.0);
Tailwind
colors: {
  custom: {
    50: '#d5f59e',
    500: '#c0f172',
    950: '#000000',
  },
}
SCSS
$custom: #c0f172;
$custom-light: #d5f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0f172",
  "rgb": {
    "r": 192,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 83.15,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89776,
    "c": 0.16432,
    "h": 127
  },
  "luminance": 0.75332
}

Semantic roles & 50–950 ramp

primary
#C0F172
secondary
#733DCA
accent
#07DE5A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C0F172

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

Preview Lab → · Contrast checker → · Palette generator →

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