#A1D74F#A1D74F

#A1D74F is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.5% C 0.174 H 128.2°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#A1D74F
RGBrgb(161, 215, 79)
HSLhsl(84, 63%, 58%)
HSVhsv(84, 63%, 84%)
CMYKcmyk(25.1%, 0%, 63.3%, 15.7%)
CIE-LABlab(80.03, -37.97, 59.56)
CIE-LCHlch(80.03, 70.63, 122.52°)
OKLaboklab(81.49% -0.1076 0.1367)
OKLCHoklch(81.49% 0.174 128.2)
XYZxyz(40.4096, 56.7416, 16.2188)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D74F #854FD7
analogous
#D7C94F #A1D74F #5DD74F
triadic
#A1D74F #4FA1D7 #D74FA1
tetradic
#A1D74F #4FD7C9 #854FD7 #D74F5D
square
#A1D74F #4FD7C9 #854FD7 #D74F5D
split-complementary
#A1D74F #4F5DD7 #C94FD7
monochromatic
#618C20 #83BE2B #A1D74F #BCE281 #D6EEB3

Accessibility & contrast

On white

1.70
#A1D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#A1D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D74F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D74F#FFFFFF#000000##000000
##A1D74F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93E
Deuteranopia (green-blind)
#DAC559
Tritanopia (blue-blind)
#A6CEBB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a1d74f;
/* rgb */ color: rgb(161, 215, 79);
/* oklch */ color: oklch(81.5% 0.174 128.2);
Tailwind
colors: {
  custom: {
    50: '#c0e386',
    500: '#a1d74f',
    950: '#000000',
  },
}
SCSS
$custom: #a1d74f;
$custom-light: #c0e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d74f",
  "rgb": {
    "r": 161,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 83.824,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81494,
    "c": 0.17397,
    "h": 128.2
  },
  "luminance": 0.56742
}

Semantic roles & 50–950 ramp

primary
#A1D74F
secondary
#5C3992
accent
#42E683
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A1D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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