#C5F971#C5F971

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

Color values

HEX#C5F971
RGBrgb(197, 249, 113)
HSLhsl(83, 92%, 71%)
HSVhsv(83, 55%, 98%)
CMYKcmyk(20.9%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.05, -37.09, 59.01)
CIE-LCHlch(92.05, 69.70, 122.15°)
OKLaboklab(91.87% -0.1044 0.1386)
OKLCHoklch(91.87% 0.174 127)
XYZxyz(59.8821, 80.8131, 28.0632)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F971 #A571F9
analogous
#F9E971 #C5F971 #81F971
triadic
#C5F971 #71C5F9 #F971C5
tetradic
#C5F971 #71F9E9 #A571F9 #F97181
square
#C5F971 #71F9E9 #A571F9 #F97181
split-complementary
#C5F971 #7181F9 #E971F9
monochromatic
#92E60A #ADF736 #C5F971 #DDFBAC #F3FEE2

Accessibility & contrast

On white

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

On black

17.16
#C5F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F971
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F971#FFFFFF#000000##000000
##C5F9711.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5f971;
/* rgb */ color: rgb(197, 249, 113);
/* oklch */ color: oklch(91.9% 0.174 127.0);
Tailwind
colors: {
  custom: {
    50: '#d9fb9d',
    500: '#c5f971',
    950: '#000000',
  },
}
SCSS
$custom: #c5f971;
$custom-light: #d9fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f971",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 82.941,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91869,
    "c": 0.17353,
    "h": 127
  },
  "luminance": 0.80814
}

Semantic roles & 50–950 ramp

primary
#C5F971
secondary
#753AD4
accent
#00E658
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F971

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

Preview Lab → · Contrast checker → · Palette generator →

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