#A1D258#A1D258

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

Color values

HEX#A1D258
RGBrgb(161, 210, 88)
HSLhsl(84, 58%, 58%)
HSVhsv(84, 58%, 82%)
CMYKcmyk(23.3%, 0%, 58.1%, 17.6%)
CIE-LABlab(78.68, -34.96, 54.20)
CIE-LCHlch(78.68, 64.50, 122.82°)
OKLaboklab(80.42% -0.0985 0.1263)
OKLCHoklch(80.42% 0.16 128)
XYZxyz(39.5058, 54.3741, 17.6445)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D258 #8958D2
analogous
#D2C658 #A1D258 #64D258
triadic
#A1D258 #58A1D2 #D258A1
tetradic
#A1D258 #58D2C6 #8958D2 #D25864
square
#A1D258 #58D2C6 #8958D2 #D25864
split-complementary
#A1D258 #5864D2 #C658D2
monochromatic
#628A25 #84BB32 #A1D258 #BCDF88 #D7ECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1D258#FFFFFF#000000##000000
##A1D2581.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)
#DCC54B
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#A6C9B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a1d258;
/* rgb */ color: rgb(161, 210, 88);
/* oklch */ color: oklch(80.4% 0.160 128.0);
Tailwind
colors: {
  custom: {
    50: '#c0e08b',
    500: '#a1d258',
    950: '#000000',
  },
}
SCSS
$custom: #a1d258;
$custom-light: #c0e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d258",
  "rgb": {
    "r": 161,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 84.098,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80422,
    "c": 0.16021,
    "h": 128
  },
  "luminance": 0.54375
}

Semantic roles & 50–950 ramp

primary
#A1D258
secondary
#5F3E91
accent
#47E185
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #A1D258

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

Preview Lab → · Contrast checker → · Palette generator →

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