#A2D74E#A2D74E

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

Color values

HEX#A2D74E
RGBrgb(162, 215, 78)
HSLhsl(83, 63%, 57%)
HSVhsv(83, 64%, 84%)
CMYKcmyk(24.7%, 0%, 63.7%, 15.7%)
CIE-LABlab(80.08, -37.67, 60.04)
CIE-LCHlch(80.08, 70.88, 122.11°)
OKLaboklab(81.55% -0.107 0.1376)
OKLCHoklch(81.55% 0.174 127.9)
XYZxyz(40.5758, 56.8315, 16.0381)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D74E #834ED7
analogous
#D7C84E #A2D74E #5DD74E
triadic
#A2D74E #4EA2D7 #D74EA2
tetradic
#A2D74E #4ED7C8 #834ED7 #D74E5D
square
#A2D74E #4ED7C8 #834ED7 #D74E5D
split-complementary
#A2D74E #4E5DD7 #C84ED7
monochromatic
#618B1F #84BD2B #A2D74E #BCE280 #D6EEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2D74E#FFFFFF#000000##000000
##A2D74E1.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)
#E1C93D
Deuteranopia (green-blind)
#DAC658
Tritanopia (blue-blind)
#A7CEBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d74e;
/* rgb */ color: rgb(162, 215, 78);
/* oklch */ color: oklch(81.5% 0.174 127.9);
Tailwind
colors: {
  custom: {
    50: '#c1e386',
    500: '#a2d74e',
    950: '#000000',
  },
}
SCSS
$custom: #a2d74e;
$custom-light: #c1e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d74e",
  "rgb": {
    "r": 162,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 83.212,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81547,
    "c": 0.17425,
    "h": 127.9
  },
  "luminance": 0.56832
}

Semantic roles & 50–950 ramp

primary
#A2D74E
secondary
#5B3891
accent
#42E681
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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