#C4EC5F#C4EC5F

#C4EC5F is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 88.7% C 0.172 H 123.3°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#C4EC5F
RGBrgb(196, 236, 95)
HSLhsl(77, 79%, 65%)
HSVhsv(77, 60%, 93%)
CMYKcmyk(16.9%, 0%, 59.7%, 7.5%)
CIE-LABlab(88.23, -33.07, 62.46)
CIE-LCHlch(88.23, 70.67, 117.90°)
OKLaboklab(88.72% -0.0947 0.1442)
OKLCHoklch(88.72% 0.172 123.3)
XYZxyz(54.8264, 72.5526, 21.9399)
Luminance0.7255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4EC5F #875FEC
analogous
#ECCD5F #C4EC5F #7EEC5F
triadic
#C4EC5F #5FC4EC #EC5FC4
tetradic
#C4EC5F #5FECCD #875FEC #EC5F7E
square
#C4EC5F #5FECCD #875FEC #EC5F7E
split-complementary
#C4EC5F #5F7EEC #CD5FEC
monochromatic
#8CBA16 #B0E628 #C4EC5F #D8F296 #ECF9CC

Accessibility & contrast

On white

1.35
#C4EC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#C4EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4EC5F
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4EC5F#FFFFFF#000000##000000
##C4EC5F1.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE4F
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#CDE1CE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c4ec5f;
/* rgb */ color: rgb(196, 236, 95);
/* oklch */ color: oklch(88.7% 0.172 123.3);
Tailwind
colors: {
  custom: {
    50: '#d9f292',
    500: '#c4ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #c4ec5f;
$custom-light: #d9f292;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ec5f",
  "rgb": {
    "r": 196,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 77.021,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88721,
    "c": 0.17249,
    "h": 123.3
  },
  "luminance": 0.72553
}

Semantic roles & 50–950 ramp

primary
#C4EC5F
secondary
#5B36BA
accent
#0ADB46
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C4EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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