#C5E351#C5E351

#C5E351 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.7% C 0.172 H 120.1°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#C5E351
RGBrgb(197, 227, 81)
HSLhsl(72, 72%, 60%)
HSVhsv(72, 64%, 89%)
CMYKcmyk(13.2%, 0%, 64.3%, 11%)
CIE-LABlab(85.71, -29.50, 65.48)
CIE-LCHlch(85.71, 71.82, 114.25°)
OKLaboklab(86.67% -0.0861 0.1488)
OKLCHoklch(86.67% 0.172 120.1)
XYZxyz(51.9810, 67.4028, 18.0546)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E351 #6F51E3
analogous
#E3B851 #C5E351 #7CE351
triadic
#C5E351 #51C5E3 #E351C5
tetradic
#C5E351 #51E3B8 #6F51E3 #E3517C
square
#C5E351 #51E3B8 #6F51E3 #E3517C
split-complementary
#C5E351 #517CE3 #B851E3
monochromatic
#84A01A #B0D522 #C5E351 #D7EB86 #E8F4BA

Accessibility & contrast

On white

1.45
#C5E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#C5E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E351
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E351#FFFFFF#000000##000000
##C5E3511.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73E
Deuteranopia (green-blind)
#EDD75C
Tritanopia (blue-blind)
#CFD8C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c5e351;
/* rgb */ color: rgb(197, 227, 81);
/* oklch */ color: oklch(86.7% 0.172 120.1);
Tailwind
colors: {
  custom: {
    50: '#daeb89',
    500: '#c5e351',
    950: '#000000',
  },
}
SCSS
$custom: #c5e351;
$custom-light: #daeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e351",
  "rgb": {
    "r": 197,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 72.329,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86666,
    "c": 0.1719,
    "h": 120.1
  },
  "luminance": 0.67403
}

Semantic roles & 50–950 ramp

primary
#C5E351
secondary
#4C35A3
accent
#11D439
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5E351

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

Preview Lab → · Contrast checker → · Palette generator →

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