#C4F251#C4F251

#C4F251 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 89.9% C 0.190 H 124.0°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#C4F251
RGBrgb(196, 242, 81)
HSLhsl(77, 86%, 63%)
HSVhsv(77, 67%, 95%)
CMYKcmyk(19%, 0%, 66.5%, 5.1%)
CIE-LABlab(89.78, -36.78, 69.71)
CIE-LCHlch(89.78, 78.82, 117.82°)
OKLaboklab(89.94% -0.1062 0.1577)
OKLCHoklch(89.94% 0.19 124)
XYZxyz(56.0028, 75.8337, 19.4699)
Luminance0.7583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4F251 #7F51F2
analogous
#F2CF51 #C4F251 #73F251
triadic
#C4F251 #51C4F2 #F251C4
tetradic
#C4F251 #51F2CF #7F51F2 #F25173
square
#C4F251 #51F2CF #7F51F2 #F25173
split-complementary
#C4F251 #5173F2 #CF51F2
monochromatic
#89BB0E #B1EE18 #C4F251 #D7F68A #EBFBC3

Accessibility & contrast

On white

1.30
#C4F251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#C4F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4F251
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4F251#FFFFFF#000000##000000
##C4F2511.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#F9E15E
Tritanopia (blue-blind)
#CDE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c4f251;
/* rgb */ color: rgb(196, 242, 81);
/* oklch */ color: oklch(89.9% 0.190 124.0);
Tailwind
colors: {
  custom: {
    50: '#d9f68a',
    500: '#c4f251',
    950: '#000000',
  },
}
SCSS
$custom: #c4f251;
$custom-light: #d9f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4f251",
  "rgb": {
    "r": 196,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 77.143,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89936,
    "c": 0.19013,
    "h": 124
  },
  "luminance": 0.75834
}

Semantic roles & 50–950 ramp

primary
#C4F251
secondary
#562EB9
accent
#03E343
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C4F251

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

Preview Lab → · Contrast checker → · Palette generator →

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