#A2F974#A2F974

#A2F974 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 89.9% C 0.188 H 136.0°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#A2F974
RGBrgb(162, 249, 116)
HSLhsl(99, 92%, 72%)
HSVhsv(99, 53%, 98%)
CMYKcmyk(34.9%, 0%, 53.4%, 2.4%)
CIE-LABlab(90.18, -48.92, 55.00)
CIE-LCHlch(90.18, 73.61, 131.65°)
OKLaboklab(89.86% -0.135 0.1305)
OKLCHoklch(89.86% 0.188 136)
XYZxyz(51.9270, 76.6914, 28.5865)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F974 #CB74F9
analogous
#E5F974 #A2F974 #74F989
triadic
#A2F974 #74A2F9 #F974A2
tetradic
#A2F974 #74E5F9 #CB74F9 #F98974
square
#A2F974 #74E5F9 #CB74F9 #F98974
split-complementary
#A2F974 #8974F9 #F974E5
monochromatic
#57E90A #7BF639 #A2F974 #C9FCAF #EBFEE2

Accessibility & contrast

On white

1.29
#A2F974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#A2F974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F974
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F974#FFFFFF#000000##000000
##A2F9741.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE867
Deuteranopia (green-blind)
#F4E07D
Tritanopia (blue-blind)
#A0F1DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a2f974;
/* rgb */ color: rgb(162, 249, 116);
/* oklch */ color: oklch(89.9% 0.188 136.0);
Tailwind
colors: {
  custom: {
    50: '#c2fc9f',
    500: '#a2f974',
    950: '#000000',
  },
}
SCSS
$custom: #a2f974;
$custom-light: #c2fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f974",
  "rgb": {
    "r": 162,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 99.248,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89864,
    "c": 0.1878,
    "h": 136
  },
  "luminance": 0.76694
}

Semantic roles & 50–950 ramp

primary
#A2F974
secondary
#A03DD5
accent
#00E696
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F974

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

Preview Lab → · Contrast checker → · Palette generator →

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