#C5F972#C5F972

#C5F972 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.9% C 0.173 H 127.1°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#C5F972
RGBrgb(197, 249, 114)
HSLhsl(83, 92%, 71%)
HSVhsv(83, 54%, 98%)
CMYKcmyk(20.9%, 0%, 54.2%, 2.4%)
CIE-LABlab(92.06, -37.00, 58.58)
CIE-LCHlch(92.06, 69.29, 122.28°)
OKLaboklab(91.88% -0.104 0.1378)
OKLCHoklch(91.88% 0.173 127.1)
XYZxyz(59.9387, 80.8357, 28.3613)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F972 #A672F9
analogous
#F9E972 #C5F972 #81F972
triadic
#C5F972 #72C5F9 #F972C5
tetradic
#C5F972 #72F9E9 #A672F9 #F97281
square
#C5F972 #72F9E9 #A672F9 #F97281
split-complementary
#C5F972 #7281F9 #E972F9
monochromatic
#92E70A #ADF737 #C5F972 #DDFBAD #F3FEE2

Accessibility & contrast

On white

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

On black

17.17
#C5F972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F972
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F972#FFFFFF#000000##000000
##C5F9721.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FDE77B
Tritanopia (blue-blind)
#CBEFDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c5f972;
/* rgb */ color: rgb(197, 249, 114);
/* oklch */ color: oklch(91.9% 0.173 127.1);
Tailwind
colors: {
  custom: {
    50: '#d9fb9e',
    500: '#c5f972',
    950: '#000000',
  },
}
SCSS
$custom: #c5f972;
$custom-light: #d9fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f972",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 83.111,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91881,
    "c": 0.17265,
    "h": 127.1
  },
  "luminance": 0.80837
}

Semantic roles & 50–950 ramp

primary
#C5F972
secondary
#763BD4
accent
#00E658
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F972

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

Preview Lab → · Contrast checker → · Palette generator →

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