#A1D331#A1D331

#A1D331 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.3% C 0.188 H 125.9°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#A1D331
RGBrgb(161, 211, 49)
HSLhsl(79, 65%, 51%)
HSVhsv(79, 77%, 83%)
CMYKcmyk(23.7%, 0%, 76.8%, 17.3%)
CIE-LABlab(78.69, -38.03, 69.07)
CIE-LCHlch(78.69, 78.85, 118.84°)
OKLaboklab(80.34% -0.1102 0.1523)
OKLCHoklch(80.34% 0.188 125.9)
XYZxyz(38.5468, 54.3868, 11.3720)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D331 #6331D3
analogous
#D3B431 #A1D331 #50D331
triadic
#A1D331 #31A1D3 #D331A1
tetradic
#A1D331 #31D3B4 #6331D3 #D33150
square
#A1D331 #31D3B4 #6331D3 #D33150
split-complementary
#A1D331 #3150D3 #B431D3
monochromatic
#567118 #7CA423 #A1D331 #B8DE63 #CFE996

Accessibility & contrast

On white

1.77
#A1D331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#A1D331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D331
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D331#FFFFFF#000000##000000
##A1D3311.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC500
Deuteranopia (green-blind)
#D8C241
Tritanopia (blue-blind)
#A8C9B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a1d331;
/* rgb */ color: rgb(161, 211, 49);
/* oklch */ color: oklch(80.3% 0.188 125.9);
Tailwind
colors: {
  custom: {
    50: '#c1e076',
    500: '#a1d331',
    950: '#000000',
  },
}
SCSS
$custom: #a1d331;
$custom-light: #c1e076;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d331",
  "rgb": {
    "r": 161,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 78.519,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80339,
    "c": 0.18803,
    "h": 125.9
  },
  "luminance": 0.54387
}

Semantic roles & 50–950 ramp

primary
#A1D331
secondary
#462E7A
accent
#40E874
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A1D331

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

Preview Lab → · Contrast checker → · Palette generator →

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