#C5E340#C5E340

#C5E340 is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.5% C 0.183 H 119.6°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#C5E340
RGBrgb(197, 227, 64)
HSLhsl(71, 74%, 57%)
HSVhsv(71, 72%, 89%)
CMYKcmyk(13.2%, 0%, 71.8%, 11%)
CIE-LABlab(85.59, -30.49, 71.62)
CIE-LCHlch(85.59, 77.84, 113.06°)
OKLaboklab(86.54% -0.0904 0.1592)
OKLCHoklch(86.54% 0.183 119.6)
XYZxyz(51.4214, 67.1789, 15.1074)
Luminance0.6718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E340 #5E40E3
analogous
#E3B040 #C5E340 #74E340
triadic
#C5E340 #40C5E3 #E340C5
tetradic
#C5E340 #40E3B0 #5E40E3 #E34074
square
#C5E340 #40E3B0 #5E40E3 #E34074
split-complementary
#C5E340 #4074E3 #B040E3
monochromatic
#7C9316 #A9C81D #C5E340 #D5EB75 #E5F3AB

Accessibility & contrast

On white

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

On black

14.44
#C5E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E340
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E340#FFFFFF#000000##000000
##C5E3401.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D620
Deuteranopia (green-blind)
#EED64E
Tritanopia (blue-blind)
#D0D7C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c5e340;
/* rgb */ color: rgb(197, 227, 64);
/* oklch */ color: oklch(86.5% 0.183 119.6);
Tailwind
colors: {
  custom: {
    50: '#daeb80',
    500: '#c5e340',
    950: '#000000',
  },
}
SCSS
$custom: #c5e340;
$custom-light: #daeb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e340",
  "rgb": {
    "r": 197,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 71.043,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86539,
    "c": 0.18302,
    "h": 119.6
  },
  "luminance": 0.67179
}

Semantic roles & 50–950 ramp

primary
#C5E340
secondary
#433097
accent
#37F159
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C5E340

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

Preview Lab → · Contrast checker → · Palette generator →

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