#C4F87B#C4F87B

#C4F87B is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 91.7% C 0.164 H 128.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#C4F87B
RGBrgb(196, 248, 123)
HSLhsl(85, 90%, 73%)
HSVhsv(85, 50%, 97%)
CMYKcmyk(21%, 0%, 50.4%, 2.7%)
CIE-LABlab(91.82, -36.04, 54.21)
CIE-LCHlch(91.82, 65.10, 123.62°)
OKLaboklab(91.7% -0.1006 0.129)
OKLCHoklch(91.7% 0.164 128)
XYZxyz(59.9071, 80.2997, 31.0782)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4F87B #AF7BF8
analogous
#F8ED7B #C4F87B #85F87B
triadic
#C4F87B #7BC4F8 #F87BC4
tetradic
#C4F87B #7BF8ED #AF7BF8 #F87B85
square
#C4F87B #7BF8ED #AF7BF8 #F87B85
split-complementary
#C4F87B #7B85F8 #ED7BF8
monochromatic
#8FEC0D #AAF541 #C4F87B #DEFBB5 #F2FDE2

Accessibility & contrast

On white

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

On black

17.06
#C4F87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4F87B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4F87B#FFFFFF#000000##000000
##C4F87B1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA70
Deuteranopia (green-blind)
#FBE783
Tritanopia (blue-blind)
#C9EFDB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c4f87b;
/* rgb */ color: rgb(196, 248, 123);
/* oklch */ color: oklch(91.7% 0.164 128.0);
Tailwind
colors: {
  custom: {
    50: '#d8faa4',
    500: '#c4f87b',
    950: '#000000',
  },
}
SCSS
$custom: #c4f87b;
$custom-light: #d8faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4f87b",
  "rgb": {
    "r": 196,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 84.96,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91703,
    "c": 0.16362,
    "h": 128
  },
  "luminance": 0.80301
}

Semantic roles & 50–950 ramp

primary
#C4F87B
secondary
#7F43D4
accent
#00E65F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C4F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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