#C4E240#C4E240

#C4E240 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.2% C 0.182 H 119.6°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#C4E240
RGBrgb(196, 226, 64)
HSLhsl(71, 74%, 57%)
HSVhsv(71, 72%, 89%)
CMYKcmyk(13.3%, 0%, 71.7%, 11.4%)
CIE-LABlab(85.25, -30.42, 71.27)
CIE-LCHlch(85.25, 77.49, 113.12°)
OKLaboklab(86.25% -0.0901 0.1584)
OKLCHoklch(86.25% 0.182 119.6)
XYZxyz(50.8877, 66.4989, 15.0043)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E240 #5E40E2
analogous
#E2AF40 #C4E240 #73E240
triadic
#C4E240 #40C4E2 #E240C4
tetradic
#C4E240 #40E2AF #5E40E2 #E24073
square
#C4E240 #40E2AF #5E40E2 #E24073
split-complementary
#C4E240 #4073E2 #AF40E2
monochromatic
#7B9216 #A7C71E #C4E240 #D4EA75 #E5F2AA

Accessibility & contrast

On white

1.47
#C4E240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#C4E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E240
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E240#FFFFFF#000000##000000
##C4E2401.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D521
Deuteranopia (green-blind)
#EDD54E
Tritanopia (blue-blind)
#CFD6C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c4e240;
/* rgb */ color: rgb(196, 226, 64);
/* oklch */ color: oklch(86.2% 0.182 119.6);
Tailwind
colors: {
  custom: {
    50: '#daeb7f',
    500: '#c4e240',
    950: '#000000',
  },
}
SCSS
$custom: #c4e240;
$custom-light: #daeb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e240",
  "rgb": {
    "r": 196,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 71.111,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.86245,
    "c": 0.18227,
    "h": 119.6
  },
  "luminance": 0.66499
}

Semantic roles & 50–950 ramp

primary
#C4E240
secondary
#433096
accent
#38F05A
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C4E240

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

Preview Lab → · Contrast checker → · Palette generator →

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