#A1D74E#A1D74E

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

Color values

HEX#A1D74E
RGBrgb(161, 215, 78)
HSLhsl(84, 63%, 57%)
HSVhsv(84, 64%, 84%)
CMYKcmyk(25.1%, 0%, 63.7%, 15.7%)
CIE-LABlab(80.03, -38.05, 59.96)
CIE-LCHlch(80.03, 71.01, 122.40°)
OKLaboklab(81.48% -0.1079 0.1374)
OKLCHoklch(81.48% 0.175 128.2)
XYZxyz(40.3734, 56.7272, 16.0286)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D74E #844ED7
analogous
#D7C94E #A1D74E #5CD74E
triadic
#A1D74E #4EA1D7 #D74EA1
tetradic
#A1D74E #4ED7C9 #844ED7 #D74E5C
square
#A1D74E #4ED7C9 #844ED7 #D74E5C
split-complementary
#A1D74E #4E5CD7 #C94ED7
monochromatic
#618B1F #83BD2B #A1D74E #BCE280 #D6EEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1D74E#FFFFFF#000000##000000
##A1D74E1.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)
#E1C93D
Deuteranopia (green-blind)
#DAC559
Tritanopia (blue-blind)
#A6CEBB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a1d74e;
/* rgb */ color: rgb(161, 215, 78);
/* oklch */ color: oklch(81.5% 0.175 128.2);
Tailwind
colors: {
  custom: {
    50: '#c0e386',
    500: '#a1d74e',
    950: '#000000',
  },
}
SCSS
$custom: #a1d74e;
$custom-light: #c0e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d74e",
  "rgb": {
    "r": 161,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 83.65,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81484,
    "c": 0.17473,
    "h": 128.2
  },
  "luminance": 0.56728
}

Semantic roles & 50–950 ramp

primary
#A1D74E
secondary
#5B3891
accent
#42E682
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A1D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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