#A2D04E#A2D04E

#A2D04E is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 79.9% C 0.165 H 126.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#A2D04E
RGBrgb(162, 208, 78)
HSLhsl(81, 58%, 56%)
HSVhsv(81, 63%, 82%)
CMYKcmyk(22.1%, 0%, 62.5%, 18.4%)
CIE-LABlab(78.08, -34.49, 57.87)
CIE-LCHlch(78.08, 67.37, 120.80°)
OKLaboklab(79.92% -0.0982 0.133)
OKLCHoklch(79.92% 0.165 126.4)
XYZxyz(38.8314, 53.3426, 15.4566)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D04E #7C4ED0
analogous
#D0BD4E #A2D04E #61D04E
triadic
#A2D04E #4EA2D0 #D04EA2
tetradic
#A2D04E #4ED0BD #7C4ED0 #D04E61
square
#A2D04E #4ED0BD #7C4ED0 #D04E61
split-complementary
#A2D04E #4E61D0 #BD4ED0
monochromatic
#608122 #83B22F #A2D04E #BBDD7E #D5EAAF

Accessibility & contrast

On white

1.80
#A2D04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#A2D04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D04E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D04E#FFFFFF#000000##000000
##A2D04E1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33E
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#A8C7B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2d04e;
/* rgb */ color: rgb(162, 208, 78);
/* oklch */ color: oklch(79.9% 0.165 126.4);
Tailwind
colors: {
  custom: {
    50: '#c1de85',
    500: '#a2d04e',
    950: '#000000',
  },
}
SCSS
$custom: #a2d04e;
$custom-light: #c1de85;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d04e",
  "rgb": {
    "r": 162,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 81.231,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.1653,
    "h": 126.4
  },
  "luminance": 0.53343
}

Semantic roles & 50–950 ramp

primary
#A2D04E
secondary
#563A89
accent
#47E17D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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