#A5D142#A5D142

#A5D142 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.2% C 0.174 H 125.0°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#A5D142
RGBrgb(165, 209, 66)
HSLhsl(78, 61%, 54%)
HSVhsv(78, 68%, 82%)
CMYKcmyk(21.1%, 0%, 68.4%, 18%)
CIE-LABlab(78.46, -34.65, 63.12)
CIE-LCHlch(78.46, 72.00, 118.76°)
OKLaboklab(80.25% -0.0998 0.1424)
OKLCHoklch(80.25% 0.174 125)
XYZxyz(39.3011, 53.9932, 13.5044)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D142 #6E42D1
analogous
#D1B642 #A5D142 #5ED142
triadic
#A5D142 #42A5D1 #D142A5
tetradic
#A5D142 #42D1B6 #6E42D1 #D1425E
square
#A5D142 #42D1B6 #6E42D1 #D1425E
split-complementary
#A5D142 #425ED1 #B642D1
monochromatic
#5E7B1E #84AC2A #A5D142 #BCDD73 #D4E9A4

Accessibility & contrast

On white

1.78
#A5D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#A5D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D142
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D142#FFFFFF#000000##000000
##A5D1421.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42C
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#ACC7B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a5d142;
/* rgb */ color: rgb(165, 209, 66);
/* oklch */ color: oklch(80.2% 0.174 125.0);
Tailwind
colors: {
  custom: {
    50: '#c3df7e',
    500: '#a5d142',
    950: '#000000',
  },
}
SCSS
$custom: #a5d142;
$custom-light: #c3df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d142",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 78.462,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80249,
    "c": 0.17388,
    "h": 125
  },
  "luminance": 0.53994
}

Semantic roles & 50–950 ramp

primary
#A5D142
secondary
#4D3583
accent
#44E475
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5D142

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

Preview Lab → · Contrast checker → · Palette generator →

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