#A5D242#A5D242

#A5D242 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.5% C 0.175 H 125.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#A5D242
RGBrgb(165, 210, 66)
HSLhsl(79, 62%, 54%)
HSVhsv(79, 69%, 82%)
CMYKcmyk(21.4%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.74, -35.10, 63.41)
CIE-LCHlch(78.74, 72.48, 118.97°)
OKLaboklab(80.48% -0.1011 0.143)
OKLCHoklch(80.48% 0.175 125.3)
XYZxyz(39.5473, 54.4854, 13.5864)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D242 #6F42D2
analogous
#D2B742 #A5D242 #5DD242
triadic
#A5D242 #42A5D2 #D242A5
tetradic
#A5D242 #42D2B7 #6F42D2 #D2425D
square
#A5D242 #42D2B7 #6F42D2 #D2425D
split-complementary
#A5D242 #425DD2 #B742D2
monochromatic
#5F7C1E #84AD29 #A5D242 #BDDE73 #D4EAA5

Accessibility & contrast

On white

1.77
#A5D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#A5D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D242
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D242#FFFFFF#000000##000000
##A5D2421.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52C
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#ACC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a5d242;
/* rgb */ color: rgb(165, 210, 66);
/* oklch */ color: oklch(80.5% 0.175 125.3);
Tailwind
colors: {
  custom: {
    50: '#c3e07e',
    500: '#a5d242',
    950: '#000000',
  },
}
SCSS
$custom: #a5d242;
$custom-light: #c3e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d242",
  "rgb": {
    "r": 165,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 78.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.17511,
    "h": 125.3
  },
  "luminance": 0.54486
}

Semantic roles & 50–950 ramp

primary
#A5D242
secondary
#4D3484
accent
#43E576
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5D242

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

Preview Lab → · Contrast checker → · Palette generator →

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