#C5EA51#C5EA51

#C5EA51 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.2% C 0.180 H 121.9°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#C5EA51
RGBrgb(197, 234, 81)
HSLhsl(75, 78%, 62%)
HSVhsv(75, 65%, 92%)
CMYKcmyk(15.8%, 0%, 65.4%, 8.2%)
CIE-LABlab(87.64, -32.76, 67.50)
CIE-LCHlch(87.64, 75.03, 115.89°)
OKLaboklab(88.22% -0.0952 0.153)
OKLCHoklch(88.22% 0.18 121.9)
XYZxyz(53.9346, 71.3100, 18.7058)
Luminance0.7131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5EA51 #7651EA
analogous
#EAC351 #C5EA51 #79EA51
triadic
#C5EA51 #51C5EA #EA51C5
tetradic
#C5EA51 #51EAC3 #7651EA #EA5179
square
#C5EA51 #51EAC3 #7651EA #EA5179
split-complementary
#C5EA51 #5179EA #C351EA
monochromatic
#87AC15 #B2E21B #C5EA51 #D7F188 #E9F7BE

Accessibility & contrast

On white

1.38
#C5EA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#C5EA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5EA51
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5EA51#FFFFFF#000000##000000
##C5EA511.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#CFDFCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c5ea51;
/* rgb */ color: rgb(197, 234, 81);
/* oklch */ color: oklch(88.2% 0.180 121.9);
Tailwind
colors: {
  custom: {
    50: '#daf089',
    500: '#c5ea51',
    950: '#000000',
  },
}
SCSS
$custom: #c5ea51;
$custom-light: #daf089;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ea51",
  "rgb": {
    "r": 197,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 74.51,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88219,
    "c": 0.1802,
    "h": 121.9
  },
  "luminance": 0.7131
}

Semantic roles & 50–950 ramp

primary
#C5EA51
secondary
#5032AD
accent
#0BDB3D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C5EA51

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

Preview Lab → · Contrast checker → · Palette generator →

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