#C4F87F#C4F87F

#C4F87F is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.8% C 0.160 H 128.4°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#C4F87F
RGBrgb(196, 248, 127)
HSLhsl(86, 90%, 74%)
HSVhsv(86, 49%, 97%)
CMYKcmyk(21%, 0%, 48.8%, 2.7%)
CIE-LABlab(91.86, -35.63, 52.42)
CIE-LCHlch(91.86, 63.38, 124.20°)
OKLaboklab(91.76% -0.0992 0.1254)
OKLCHoklch(91.76% 0.16 128.4)
XYZxyz(60.1627, 80.4019, 32.4240)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4F87F #B37FF8
analogous
#F8EF7F #C4F87F #87F87F
triadic
#C4F87F #7FC4F8 #F87FC4
tetradic
#C4F87F #7FF8EF #B37FF8 #F87F87
square
#C4F87F #7FF8EF #B37FF8 #F87F87
split-complementary
#C4F87F #7F87F8 #EF7FF8
monochromatic
#8EF00D #A9F545 #C4F87F #DFFBB9 #F2FDE2

Accessibility & contrast

On white

1.23
#C4F87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#C4F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4F87F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4F87F#FFFFFF#000000##000000
##C4F87F1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FBE786
Tritanopia (blue-blind)
#C9EFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c4f87f;
/* rgb */ color: rgb(196, 248, 127);
/* oklch */ color: oklch(91.8% 0.160 128.4);
Tailwind
colors: {
  custom: {
    50: '#d8faa6',
    500: '#c4f87f',
    950: '#000000',
  },
}
SCSS
$custom: #c4f87f;
$custom-light: #d8faa6;
$custom-dark: #000000;
JSON
{
  "hex": "#c4f87f",
  "rgb": {
    "r": 196,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 85.785,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91755,
    "c": 0.15985,
    "h": 128.4
  },
  "luminance": 0.80403
}

Semantic roles & 50–950 ramp

primary
#C4F87F
secondary
#8446D5
accent
#00E663
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C4F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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