#A1D42F#A1D42F

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

Color values

HEX#A1D42F
RGBrgb(161, 212, 47)
HSLhsl(79, 66%, 51%)
HSVhsv(79, 78%, 83%)
CMYKcmyk(24.1%, 0%, 77.8%, 16.9%)
CIE-LABlab(78.97, -38.57, 69.92)
CIE-LCHlch(78.97, 79.85, 118.88°)
OKLaboklab(80.56% -0.1118 0.1538)
OKLCHoklch(80.56% 0.19 126)
XYZxyz(38.7548, 54.8687, 11.2377)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D42F #622FD4
analogous
#D4B42F #A1D42F #4FD42F
triadic
#A1D42F #2FA1D4 #D42FA1
tetradic
#A1D42F #2FD4B4 #622FD4 #D42F4F
square
#A1D42F #2FD4B4 #622FD4 #D42F4F
split-complementary
#A1D42F #2F4FD4 #B42FD4
monochromatic
#557117 #7CA422 #A1D42F #B8DE62 #CFE994

Accessibility & contrast

On white

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

On black

11.97
#A1D42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D42F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D42F#FFFFFF#000000##000000
##A1D42F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#A8CAB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a1d42f;
/* rgb */ color: rgb(161, 212, 47);
/* oklch */ color: oklch(80.6% 0.190 126.0);
Tailwind
colors: {
  custom: {
    50: '#c1e175',
    500: '#a1d42f',
    950: '#000000',
  },
}
SCSS
$custom: #a1d42f;
$custom-light: #c1e175;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d42f",
  "rgb": {
    "r": 161,
    "g": 212,
    "b": 47
  },
  "hsl": {
    "h": 78.545,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80562,
    "c": 0.19017,
    "h": 126
  },
  "luminance": 0.54869
}

Semantic roles & 50–950 ramp

primary
#A1D42F
secondary
#452D7A
accent
#3FE974
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A1D42F

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

Preview Lab → · Contrast checker → · Palette generator →

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