#C5E751#C5E751

#C5E751 is a very light, vivid yellow-green. Relative luminance 0.696; OKLCH L 87.6% C 0.177 H 121.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#C5E751
RGBrgb(197, 231, 81)
HSLhsl(74, 76%, 61%)
HSVhsv(74, 65%, 91%)
CMYKcmyk(14.7%, 0%, 64.9%, 9.4%)
CIE-LABlab(86.81, -31.37, 66.64)
CIE-LCHlch(86.81, 73.65, 115.21°)
OKLaboklab(87.55% -0.0913 0.1512)
OKLCHoklch(87.55% 0.177 121.1)
XYZxyz(53.0878, 69.6163, 18.4235)
Luminance0.6962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E751 #7351E7
analogous
#E7BE51 #C5E751 #7AE751
triadic
#C5E751 #51C5E7 #E751C5
tetradic
#C5E751 #51E7BE #7351E7 #E7517A
square
#C5E751 #51E7BE #7351E7 #E7517A
split-complementary
#C5E751 #517AE7 #BE51E7
monochromatic
#86A717 #B1DC1E #C5E751 #D7EE87 #E9F6BD

Accessibility & contrast

On white

1.41
#C5E751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#C5E751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E751
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E751#FFFFFF#000000##000000
##C5E7511.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3D
Deuteranopia (green-blind)
#F0DA5C
Tritanopia (blue-blind)
#CFDCC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #c5e751;
/* rgb */ color: rgb(197, 231, 81);
/* oklch */ color: oklch(87.6% 0.177 121.1);
Tailwind
colors: {
  custom: {
    50: '#daee89',
    500: '#c5e751',
    950: '#000000',
  },
}
SCSS
$custom: #c5e751;
$custom-light: #daee89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e751",
  "rgb": {
    "r": 197,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 73.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87553,
    "c": 0.17664,
    "h": 121.1
  },
  "luminance": 0.69616
}

Semantic roles & 50–950 ramp

primary
#C5E751
secondary
#4E34A8
accent
#0ED83B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C5E751

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

Preview Lab → · Contrast checker → · Palette generator →

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