#C5F970#C5F970

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

Color values

HEX#C5F970
RGBrgb(197, 249, 112)
HSLhsl(83, 92%, 71%)
HSVhsv(83, 55%, 98%)
CMYKcmyk(20.9%, 0%, 55%, 2.4%)
CIE-LABlab(92.04, -37.18, 59.44)
CIE-LCHlch(92.04, 70.11, 122.03°)
OKLaboklab(91.86% -0.1047 0.1395)
OKLCHoklch(91.86% 0.174 126.9)
XYZxyz(59.8261, 80.7907, 27.7683)
Luminance0.8079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F970 #A470F9
analogous
#F9E970 #C5F970 #80F970
triadic
#C5F970 #70C5F9 #F970C5
tetradic
#C5F970 #70F9E9 #A470F9 #F97080
square
#C5F970 #70F9E9 #A470F9 #F97080
split-complementary
#C5F970 #7080F9 #E970F9
monochromatic
#92E50A #ADF735 #C5F970 #DDFBAB #F3FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5F970#FFFFFF#000000##000000
##C5F9701.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)
#FFEA62
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#CBEFDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c5f970;
/* rgb */ color: rgb(197, 249, 112);
/* oklch */ color: oklch(91.9% 0.174 126.9);
Tailwind
colors: {
  custom: {
    50: '#d9fb9d',
    500: '#c5f970',
    950: '#000000',
  },
}
SCSS
$custom: #c5f970;
$custom-light: #d9fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f970",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 82.774,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91858,
    "c": 0.1744,
    "h": 126.9
  },
  "luminance": 0.80792
}

Semantic roles & 50–950 ramp

primary
#C5F970
secondary
#7439D4
accent
#00E657
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F970

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

Preview Lab → · Contrast checker → · Palette generator →

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