#C4F862#C4F862

#C4F862 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.4% C 0.185 H 126.0°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#C4F862
RGBrgb(196, 248, 98)
HSLhsl(81, 91%, 68%)
HSVhsv(81, 60%, 97%)
CMYKcmyk(21%, 0%, 60.5%, 2.7%)
CIE-LABlab(91.57, -38.27, 64.89)
CIE-LCHlch(91.57, 75.34, 120.53°)
OKLaboklab(91.43% -0.1089 0.1497)
OKLCHoklch(91.43% 0.185 126)
XYZxyz(58.5371, 79.7516, 23.8625)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4F862 #9662F8
analogous
#F8E162 #C4F862 #79F862
triadic
#C4F862 #62C4F8 #F862C4
tetradic
#C4F862 #62F8E1 #9662F8 #F86279
square
#C4F862 #62F8E1 #9662F8 #F86279
split-complementary
#C4F862 #6279F8 #E162F8
monochromatic
#8FD60A #AEF527 #C4F862 #DAFB9D #F0FDD7

Accessibility & contrast

On white

1.24
#C4F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#C4F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4F862
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4F862#FFFFFF#000000##000000
##C4F8621.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FDE66D
Tritanopia (blue-blind)
#CBEDD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c4f862;
/* rgb */ color: rgb(196, 248, 98);
/* oklch */ color: oklch(91.4% 0.185 126.0);
Tailwind
colors: {
  custom: {
    50: '#d9fa94',
    500: '#c4f862',
    950: '#000000',
  },
}
SCSS
$custom: #c4f862;
$custom-light: #d9fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#c4f862",
  "rgb": {
    "r": 196,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 80.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91425,
    "c": 0.18509,
    "h": 126
  },
  "luminance": 0.79752
}

Semantic roles & 50–950 ramp

primary
#C4F862
secondary
#662ED0
accent
#00E650
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C4F862

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

Preview Lab → · Contrast checker → · Palette generator →

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