#A5D042#A5D042

#A5D042 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.0% C 0.173 H 124.8°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#A5D042
RGBrgb(165, 208, 66)
HSLhsl(78, 60%, 54%)
HSVhsv(78, 68%, 82%)
CMYKcmyk(20.7%, 0%, 68.3%, 18.4%)
CIE-LABlab(78.17, -34.19, 62.83)
CIE-LCHlch(78.17, 71.53, 118.55°)
OKLaboklab(80.02% -0.0986 0.1417)
OKLCHoklch(80.02% 0.173 124.8)
XYZxyz(39.0566, 53.5040, 13.4229)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D042 #6D42D0
analogous
#D0B442 #A5D042 #5ED042
triadic
#A5D042 #42A5D0 #D042A5
tetradic
#A5D042 #42D0B4 #6D42D0 #D0425E
square
#A5D042 #42D0B4 #6D42D0 #D0425E
split-complementary
#A5D042 #425ED0 #B442D0
monochromatic
#5E791E #84AA2A #A5D042 #BCDC73 #D4E8A4

Accessibility & contrast

On white

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

On black

11.70
#A5D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D042
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D042#FFFFFF#000000##000000
##A5D0421.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#ACC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5d042;
/* rgb */ color: rgb(165, 208, 66);
/* oklch */ color: oklch(80.0% 0.173 124.8);
Tailwind
colors: {
  custom: {
    50: '#c3de7e',
    500: '#a5d042',
    950: '#000000',
  },
}
SCSS
$custom: #a5d042;
$custom-light: #c3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d042",
  "rgb": {
    "r": 165,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 78.169,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80017,
    "c": 0.17266,
    "h": 124.8
  },
  "luminance": 0.53504
}

Semantic roles & 50–950 ramp

primary
#A5D042
secondary
#4C3581
accent
#44E375
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5D042

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

Preview Lab → · Contrast checker → · Palette generator →

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