#C5E951#C5E951

#C5E951 is a very light, vivid yellow-green. Relative luminance 0.707; OKLCH L 88.0% C 0.179 H 121.6°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#C5E951
RGBrgb(197, 233, 81)
HSLhsl(74, 78%, 62%)
HSVhsv(74, 65%, 91%)
CMYKcmyk(15.5%, 0%, 65.2%, 8.6%)
CIE-LABlab(87.36, -32.29, 67.21)
CIE-LCHlch(87.36, 74.57, 115.66°)
OKLaboklab(88% -0.0939 0.1524)
OKLCHoklch(88% 0.179 121.6)
XYZxyz(53.6508, 70.7422, 18.6112)
Luminance0.7074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E951 #7551E9
analogous
#E9C151 #C5E951 #79E951
triadic
#C5E951 #51C5E9 #E951C5
tetradic
#C5E951 #51E9C1 #7551E9 #E95179
square
#C5E951 #51E9C1 #7551E9 #E95179
split-complementary
#C5E951 #5179E9 #C151E9
monochromatic
#87AA16 #B2E01C #C5E951 #D7F087 #E9F7BE

Accessibility & contrast

On white

1.39
#C5E951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#C5E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E951
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E951#FFFFFF#000000##000000
##C5E9511.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F2DB5C
Tritanopia (blue-blind)
#CFDECA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c5e951;
/* rgb */ color: rgb(197, 233, 81);
/* oklch */ color: oklch(88.0% 0.179 121.6);
Tailwind
colors: {
  custom: {
    50: '#daf089',
    500: '#c5e951',
    950: '#000000',
  },
}
SCSS
$custom: #c5e951;
$custom-light: #daf089;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e951",
  "rgb": {
    "r": 197,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 74.211,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87997,
    "c": 0.17901,
    "h": 121.6
  },
  "luminance": 0.70742
}

Semantic roles & 50–950 ramp

primary
#C5E951
secondary
#4F33AB
accent
#0CDA3D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C5E951

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

Preview Lab → · Contrast checker → · Palette generator →

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