#C5E631#C5E631

#C5E631 is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 87.1% C 0.194 H 120.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#C5E631
RGBrgb(197, 230, 49)
HSLhsl(71, 78%, 55%)
HSVhsv(71, 79%, 90%)
CMYKcmyk(14.3%, 0%, 78.7%, 9.8%)
CIE-LABlab(86.35, -32.54, 76.91)
CIE-LCHlch(86.35, 83.51, 112.93°)
OKLaboklab(87.12% -0.0971 0.1679)
OKLCHoklch(87.12% 0.194 120.1)
XYZxyz(51.8782, 68.6859, 13.4298)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E631 #5231E6
analogous
#E6AC31 #C5E631 #6BE631
triadic
#C5E631 #31C5E6 #E631C5
tetradic
#C5E631 #31E6AC #5231E6 #E6316B
square
#C5E631 #31E6AC #5231E6 #E6316B
split-complementary
#C5E631 #316BE6 #AC31E6
monochromatic
#758C11 #A3C218 #C5E631 #D4ED68 #E4F39E

Accessibility & contrast

On white

1.42
#C5E631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#C5E631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E631
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E631#FFFFFF#000000##000000
##C5E6311.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D800
Deuteranopia (green-blind)
#F1D844
Tritanopia (blue-blind)
#D1D9C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c5e631;
/* rgb */ color: rgb(197, 230, 49);
/* oklch */ color: oklch(87.1% 0.194 120.1);
Tailwind
colors: {
  custom: {
    50: '#dbed79',
    500: '#c5e631',
    950: '#000000',
  },
}
SCSS
$custom: #c5e631;
$custom-light: #dbed79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e631",
  "rgb": {
    "r": 197,
    "g": 230,
    "b": 49
  },
  "hsl": {
    "h": 70.939,
    "s": 78.355,
    "l": 54.706
  },
  "oklch": {
    "l": 0.87123,
    "c": 0.19396,
    "h": 120.1
  },
  "luminance": 0.68686
}

Semantic roles & 50–950 ramp

primary
#C5E631
secondary
#3D2A91
accent
#33F556
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C5E631

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

Preview Lab → · Contrast checker → · Palette generator →

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