#C5E151#C5E151

#C5E151 is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 86.2% C 0.170 H 119.5°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#C5E151
RGBrgb(197, 225, 81)
HSLhsl(72, 71%, 60%)
HSVhsv(72, 64%, 88%)
CMYKcmyk(12.4%, 0%, 64%, 11.8%)
CIE-LABlab(85.16, -28.56, 64.90)
CIE-LCHlch(85.16, 70.91, 113.75°)
OKLaboklab(86.22% -0.0835 0.1475)
OKLCHoklch(86.22% 0.17 119.5)
XYZxyz(51.4372, 66.3151, 17.8733)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E151 #6D51E1
analogous
#E1B551 #C5E151 #7DE151
triadic
#C5E151 #51C5E1 #E151C5
tetradic
#C5E151 #51E1B5 #6D51E1 #E1517D
square
#C5E151 #51E1B5 #6D51E1 #E1517D
split-complementary
#C5E151 #517DE1 #B551E1
monochromatic
#839D1B #AFD124 #C5E151 #D6EA85 #E8F3B9

Accessibility & contrast

On white

1.47
#C5E151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#C5E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E151
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E151#FFFFFF#000000##000000
##C5E1511.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#D0D6C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c5e151;
/* rgb */ color: rgb(197, 225, 81);
/* oklch */ color: oklch(86.2% 0.170 119.5);
Tailwind
colors: {
  custom: {
    50: '#daea88',
    500: '#c5e151',
    950: '#000000',
  },
}
SCSS
$custom: #c5e151;
$custom-light: #daea88;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e151",
  "rgb": {
    "r": 197,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 71.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86223,
    "c": 0.16955,
    "h": 119.5
  },
  "luminance": 0.66315
}

Semantic roles & 50–950 ramp

primary
#C5E151
secondary
#4B36A0
accent
#3AED5D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5E151

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

Preview Lab → · Contrast checker → · Palette generator →

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