#A5D128#A5D128

#A5D128 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.1% C 0.188 H 124.1°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#A5D128
RGBrgb(165, 209, 40)
HSLhsl(76, 68%, 49%)
HSVhsv(76, 81%, 82%)
CMYKcmyk(21.1%, 0%, 80.9%, 18%)
CIE-LABlab(78.32, -35.95, 71.36)
CIE-LCHlch(78.32, 79.90, 116.74°)
OKLaboklab(80.09% -0.1054 0.1557)
OKLCHoklch(80.09% 0.188 124.1)
XYZxyz(38.7010, 53.7531, 10.3436)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D128 #5428D1
analogous
#D1A928 #A5D128 #51D128
triadic
#A5D128 #28A5D1 #D128A5
tetradic
#A5D128 #28D1A9 #5428D1 #D12851
square
#A5D128 #28D1A9 #5428D1 #D12851
split-complementary
#A5D128 #2851D1 #A928D1
monochromatic
#546A14 #7C9E1E #A5D128 #BCDF57 #D0E98B

Accessibility & contrast

On white

1.79
#A5D128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#A5D128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D128
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D128#FFFFFF#000000##000000
##A5D1281.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D7C13B
Tritanopia (blue-blind)
#ADC6B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a5d128;
/* rgb */ color: rgb(165, 209, 40);
/* oklch */ color: oklch(80.1% 0.188 124.1);
Tailwind
colors: {
  custom: {
    50: '#c4df72',
    500: '#a5d128',
    950: '#000000',
  },
}
SCSS
$custom: #a5d128;
$custom-light: #c4df72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d128",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 40
  },
  "hsl": {
    "h": 75.621,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.8009,
    "c": 0.18797,
    "h": 124.1
  },
  "luminance": 0.53753
}

Semantic roles & 50–950 ramp

primary
#A5D128
secondary
#3D2974
accent
#3DEB6A
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A5D128

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

Preview Lab → · Contrast checker → · Palette generator →

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