#C5E042#C5E042

#C5E042 is a very light, vivid yellow-green. Relative luminance 0.656; OKLCH L 85.9% C 0.178 H 118.8°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#C5E042
RGBrgb(197, 224, 66)
HSLhsl(70, 72%, 57%)
HSVhsv(70, 71%, 88%)
CMYKcmyk(12.1%, 0%, 70.5%, 12.2%)
CIE-LABlab(84.78, -28.98, 70.14)
CIE-LCHlch(84.78, 75.89, 112.45°)
OKLaboklab(85.89% -0.086 0.1563)
OKLCHoklch(85.89% 0.178 118.8)
XYZxyz(50.6660, 65.5753, 15.1414)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E042 #5D42E0
analogous
#E0AC42 #C5E042 #76E042
triadic
#C5E042 #42C5E0 #E042C5
tetradic
#C5E042 #42E0AC #5D42E0 #E04276
square
#C5E042 #42E0AC #5D42E0 #E04276
split-complementary
#C5E042 #4276E0 #AC42E0
monochromatic
#7B9018 #A8C520 #C5E042 #D5E977 #E5F1AB

Accessibility & contrast

On white

1.49
#C5E042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#C5E042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E042
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E042#FFFFFF#000000##000000
##C5E0421.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED426
Deuteranopia (green-blind)
#EBD44F
Tritanopia (blue-blind)
#D0D4C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c5e042;
/* rgb */ color: rgb(197, 224, 66);
/* oklch */ color: oklch(85.9% 0.178 118.8);
Tailwind
colors: {
  custom: {
    50: '#dae980',
    500: '#c5e042',
    950: '#000000',
  },
}
SCSS
$custom: #c5e042;
$custom-light: #dae980;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e042",
  "rgb": {
    "r": 197,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 70.253,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85887,
    "c": 0.17846,
    "h": 118.8
  },
  "luminance": 0.65575
}

Semantic roles & 50–950 ramp

primary
#C5E042
secondary
#423195
accent
#39EF58
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C5E042

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

Preview Lab → · Contrast checker → · Palette generator →

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