#A1D042#A1D042

#A1D042 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.174 H 126.0°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#A1D042
RGBrgb(161, 208, 66)
HSLhsl(80, 60%, 54%)
HSVhsv(80, 68%, 82%)
CMYKcmyk(22.6%, 0%, 68.3%, 18.4%)
CIE-LABlab(77.92, -35.73, 62.49)
CIE-LCHlch(77.92, 71.99, 119.76°)
OKLaboklab(79.75% -0.1026 0.1411)
OKLCHoklch(79.75% 0.174 126)
XYZxyz(38.2373, 53.0816, 13.3845)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D042 #7142D0
analogous
#D0B842 #A1D042 #5AD042
triadic
#A1D042 #42A1D0 #D042A1
tetradic
#A1D042 #42D0B8 #7142D0 #D0425A
square
#A1D042 #42D0B8 #7142D0 #D0425A
split-complementary
#A1D042 #425AD0 #B842D0
monochromatic
#5B791E #80AA2A #A1D042 #B9DC73 #D2E8A4

Accessibility & contrast

On white

1.81
#A1D042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#A1D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D042
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D042#FFFFFF#000000##000000
##A1D0421.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22C
Deuteranopia (green-blind)
#D4C04E
Tritanopia (blue-blind)
#A8C6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a1d042;
/* rgb */ color: rgb(161, 208, 66);
/* oklch */ color: oklch(79.8% 0.174 126.0);
Tailwind
colors: {
  custom: {
    50: '#c0de7e',
    500: '#a1d042',
    950: '#000000',
  },
}
SCSS
$custom: #a1d042;
$custom-light: #c0de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d042",
  "rgb": {
    "r": 161,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 79.859,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79752,
    "c": 0.17448,
    "h": 126
  },
  "luminance": 0.53082
}

Semantic roles & 50–950 ramp

primary
#A1D042
secondary
#4E3581
accent
#44E379
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1D042

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

Preview Lab → · Contrast checker → · Palette generator →

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