#A2D04F#A2D04F

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

Color values

HEX#A2D04F
RGBrgb(162, 208, 79)
HSLhsl(81, 58%, 56%)
HSVhsv(81, 62%, 82%)
CMYKcmyk(22.1%, 0%, 62%, 18.4%)
CIE-LABlab(78.09, -34.42, 57.46)
CIE-LCHlch(78.09, 66.98, 120.92°)
OKLaboklab(79.93% -0.0979 0.1322)
OKLCHoklch(79.93% 0.165 126.5)
XYZxyz(38.8675, 53.3571, 15.6469)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D04F #7D4FD0
analogous
#D0BE4F #A2D04F #62D04F
triadic
#A2D04F #4FA2D0 #D04FA2
tetradic
#A2D04F #4FD0BE #7D4FD0 #D04F62
square
#A2D04F #4FD0BE #7D4FD0 #D04F62
split-complementary
#A2D04F #4F62D0 #BE4FD0
monochromatic
#608223 #84B230 #A2D04F #BCDD7F #D5EAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2D04F#FFFFFF#000000##000000
##A2D04F1.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)
#DAC340
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#A8C7B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2d04f;
/* rgb */ color: rgb(162, 208, 79);
/* oklch */ color: oklch(79.9% 0.165 126.5);
Tailwind
colors: {
  custom: {
    50: '#c1de86',
    500: '#a2d04f',
    950: '#000000',
  },
}
SCSS
$custom: #a2d04f;
$custom-light: #c1de86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d04f",
  "rgb": {
    "r": 162,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 81.395,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79931,
    "c": 0.16452,
    "h": 126.5
  },
  "luminance": 0.53358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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