#A2D74F#A2D74F

#A2D74F is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.6% C 0.173 H 127.9°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#A2D74F
RGBrgb(162, 215, 79)
HSLhsl(83, 63%, 58%)
HSVhsv(83, 63%, 84%)
CMYKcmyk(24.7%, 0%, 63.3%, 15.7%)
CIE-LABlab(80.09, -37.60, 59.64)
CIE-LCHlch(80.09, 70.50, 122.23°)
OKLaboklab(81.56% -0.1067 0.1368)
OKLCHoklch(81.56% 0.174 127.9)
XYZxyz(40.6119, 56.8460, 16.2283)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D74F #844FD7
analogous
#D7C84F #A2D74F #5ED74F
triadic
#A2D74F #4FA2D7 #D74FA2
tetradic
#A2D74F #4FD7C8 #844FD7 #D74F5E
square
#A2D74F #4FD7C8 #844FD7 #D74F5E
split-complementary
#A2D74F #4F5ED7 #C84FD7
monochromatic
#628C20 #85BE2B #A2D74F #BCE281 #D7EEB3

Accessibility & contrast

On white

1.70
#A2D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#A2D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D74F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D74F#FFFFFF#000000##000000
##A2D74F1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93E
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#A7CEBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d74f;
/* rgb */ color: rgb(162, 215, 79);
/* oklch */ color: oklch(81.6% 0.173 127.9);
Tailwind
colors: {
  custom: {
    50: '#c1e386',
    500: '#a2d74f',
    950: '#000000',
  },
}
SCSS
$custom: #a2d74f;
$custom-light: #c1e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d74f",
  "rgb": {
    "r": 162,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 83.382,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81557,
    "c": 0.1735,
    "h": 127.9
  },
  "luminance": 0.56847
}

Semantic roles & 50–950 ramp

primary
#A2D74F
secondary
#5B3992
accent
#42E682
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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