#ABF251#ABF251

#ABF251 is a very light, highly saturated yellow-green. Relative luminance 0.728; OKLCH L 88.4% C 0.202 H 130.2°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#ABF251
RGBrgb(171, 242, 81)
HSLhsl(86, 86%, 63%)
HSVhsv(86, 67%, 95%)
CMYKcmyk(29.3%, 0%, 66.5%, 5.1%)
CIE-LABlab(88.33, -45.99, 67.75)
CIE-LCHlch(88.33, 81.88, 124.17°)
OKLaboklab(88.38% -0.1301 0.154)
OKLCHoklch(88.38% 0.202 130.2)
XYZxyz(50.0316, 72.7548, 19.1900)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABF251 #9851F2
analogous
#F2E951 #ABF251 #5AF251
triadic
#ABF251 #51ABF2 #F251AB
tetradic
#ABF251 #51F2E9 #9851F2 #F2515A
square
#ABF251 #51F2E9 #9851F2 #F2515A
split-complementary
#ABF251 #515AF2 #E951F2
monochromatic
#6EBB0E #90EE18 #ABF251 #C6F68A #E2FBC3

Accessibility & contrast

On white

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

On black

15.55
#ABF251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABF251
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABF251#FFFFFF#000000##000000
##ABF2511.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE13A
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#AFE8D1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #abf251;
/* rgb */ color: rgb(171, 242, 81);
/* oklch */ color: oklch(88.4% 0.202 130.2);
Tailwind
colors: {
  custom: {
    50: '#c8f68a',
    500: '#abf251',
    950: '#000000',
  },
}
SCSS
$custom: #abf251;
$custom-light: #c8f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#abf251",
  "rgb": {
    "r": 171,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 86.46,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88381,
    "c": 0.2016,
    "h": 130.2
  },
  "luminance": 0.72756
}

Semantic roles & 50–950 ramp

primary
#ABF251
secondary
#6B2EB9
accent
#03E366
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #ABF251

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

Preview Lab → · Contrast checker → · Palette generator →

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