#A8F970#A8F970

#A8F970 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.1% C 0.188 H 134.2°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#A8F970
RGBrgb(168, 249, 112)
HSLhsl(95, 92%, 71%)
HSVhsv(95, 55%, 98%)
CMYKcmyk(32.5%, 0%, 55%, 2.4%)
CIE-LABlab(90.43, -47.36, 57.17)
CIE-LCHlch(90.43, 74.24, 129.64°)
OKLaboklab(90.14% -0.1313 0.1349)
OKLCHoklch(90.14% 0.188 134.2)
XYZxyz(52.9477, 77.2440, 27.4459)
Luminance0.7725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F970 #C170F9
analogous
#EDF970 #A8F970 #70F97C
triadic
#A8F970 #70A8F9 #F970A8
tetradic
#A8F970 #70EDF9 #C170F9 #F97C70
square
#A8F970 #70EDF9 #C170F9 #F97C70
split-complementary
#A8F970 #7C70F9 #F970ED
monochromatic
#63E50A #84F735 #A8F970 #CCFBAB #EDFEE2

Accessibility & contrast

On white

1.28
#A8F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#A8F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F970
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F970#FFFFFF#000000##000000
##A8F9701.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#A8F0DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a8f970;
/* rgb */ color: rgb(168, 249, 112);
/* oklch */ color: oklch(90.1% 0.188 134.2);
Tailwind
colors: {
  custom: {
    50: '#c6fb9d',
    500: '#a8f970',
    950: '#000000',
  },
}
SCSS
$custom: #a8f970;
$custom-light: #c6fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f970",
  "rgb": {
    "r": 168,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 95.474,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90137,
    "c": 0.18823,
    "h": 134.2
  },
  "luminance": 0.77246
}

Semantic roles & 50–950 ramp

primary
#A8F970
secondary
#9539D4
accent
#00E688
background
#FEFFFC
surface
#FAFFF5
border
#D3D7CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #A8F970

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

Preview Lab → · Contrast checker → · Palette generator →

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