#A2D42F#A2D42F

#A2D42F is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.6% C 0.190 H 125.8°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#A2D42F
RGBrgb(162, 212, 47)
HSLhsl(78, 66%, 51%)
HSVhsv(78, 78%, 83%)
CMYKcmyk(23.6%, 0%, 77.8%, 16.9%)
CIE-LABlab(79.03, -38.18, 70.00)
CIE-LCHlch(79.03, 79.73, 118.61°)
OKLaboklab(80.63% -0.1108 0.154)
OKLCHoklch(80.63% 0.19 125.8)
XYZxyz(38.9572, 54.9730, 11.2472)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D42F #612FD4
analogous
#D4B32F #A2D42F #4FD42F
triadic
#A2D42F #2FA2D4 #D42FA2
tetradic
#A2D42F #2FD4B3 #612FD4 #D42F4F
square
#A2D42F #2FD4B3 #612FD4 #D42F4F
split-complementary
#A2D42F #2F4FD4 #B32FD4
monochromatic
#567117 #7DA422 #A2D42F #B9DE62 #CFE994

Accessibility & contrast

On white

1.75
#A2D42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#A2D42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D42F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D42F#FFFFFF#000000##000000
##A2D42F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#A9CAB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a2d42f;
/* rgb */ color: rgb(162, 212, 47);
/* oklch */ color: oklch(80.6% 0.190 125.8);
Tailwind
colors: {
  custom: {
    50: '#c2e175',
    500: '#a2d42f',
    950: '#000000',
  },
}
SCSS
$custom: #a2d42f;
$custom-light: #c2e175;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d42f",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 47
  },
  "hsl": {
    "h": 78.182,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80626,
    "c": 0.1897,
    "h": 125.8
  },
  "luminance": 0.54974
}

Semantic roles & 50–950 ramp

primary
#A2D42F
secondary
#442D7A
accent
#3FE973
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A2D42F

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

Preview Lab → · Contrast checker → · Palette generator →

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