#A8F281#A8F281

#A8F281 is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 88.7% C 0.163 H 135.7°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#A8F281
RGBrgb(168, 242, 129)
HSLhsl(99, 81%, 73%)
HSVhsv(99, 47%, 95%)
CMYKcmyk(30.6%, 0%, 46.7%, 5.1%)
CIE-LABlab(88.64, -42.48, 47.17)
CIE-LCHlch(88.64, 63.48, 132.00°)
OKLaboklab(88.75% -0.1168 0.114)
OKLCHoklch(88.75% 0.163 135.7)
XYZxyz(51.8617, 73.4121, 32.2021)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F281 #CB81F2
analogous
#E0F281 #A8F281 #81F292
triadic
#A8F281 #81A8F2 #F281A8
tetradic
#A8F281 #81E0F2 #CB81F2 #F29281
square
#A8F281 #81E0F2 #CB81F2 #F29281
split-complementary
#A8F281 #9281F2 #F281E0
monochromatic
#5DE117 #82EC4A #A8F281 #CEF8B8 #ECFCE3

Accessibility & contrast

On white

1.34
#A8F281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#A8F281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F281
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F281#FFFFFF#000000##000000
##A8F2811.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E378
Deuteranopia (green-blind)
#EEDC88
Tritanopia (blue-blind)
#A7EBD7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #a8f281;
/* rgb */ color: rgb(168, 242, 129);
/* oklch */ color: oklch(88.7% 0.163 135.7);
Tailwind
colors: {
  custom: {
    50: '#c5f6a7',
    500: '#a8f281',
    950: '#000000',
  },
}
SCSS
$custom: #a8f281;
$custom-light: #c5f6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f281",
  "rgb": {
    "r": 168,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 99.292,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88746,
    "c": 0.16323,
    "h": 135.7
  },
  "luminance": 0.73414
}

Semantic roles & 50–950 ramp

primary
#A8F281
secondary
#A04ACD
accent
#08DE94
background
#FDFFFC
surface
#F9FEF6
border
#D2D6D0
text
#131710
muted
#828580

Preview Lab

Preview with #A8F281

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

Preview Lab → · Contrast checker → · Palette generator →

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