#A5D942#A5D942

#A5D942 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.1% C 0.184 H 126.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#A5D942
RGBrgb(165, 217, 66)
HSLhsl(81, 67%, 55%)
HSVhsv(81, 70%, 85%)
CMYKcmyk(24%, 0%, 69.6%, 14.9%)
CIE-LABlab(80.75, -38.27, 65.44)
CIE-LCHlch(80.75, 75.81, 120.32°)
OKLaboklab(82.1% -0.1098 0.1472)
OKLCHoklch(82.1% 0.184 126.7)
XYZxyz(41.3134, 58.0177, 14.1751)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D942 #7642D9
analogous
#D9C142 #A5D942 #59D942
triadic
#A5D942 #42A5D9 #D942A5
tetradic
#A5D942 #42D9C1 #7642D9 #D94259
square
#A5D942 #42D9C1 #7642D9 #D94259
split-complementary
#A5D942 #4259D9 #C142D9
monochromatic
#61861B #86B925 #A5D942 #BDE375 #D6EDA8

Accessibility & contrast

On white

1.67
#A5D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#A5D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D942
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D942#FFFFFF#000000##000000
##A5D9421.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB29
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#ABCFBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a5d942;
/* rgb */ color: rgb(165, 217, 66);
/* oklch */ color: oklch(82.1% 0.184 126.7);
Tailwind
colors: {
  custom: {
    50: '#c4e57f',
    500: '#a5d942',
    950: '#000000',
  },
}
SCSS
$custom: #a5d942;
$custom-light: #c4e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d942",
  "rgb": {
    "r": 165,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 80.662,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82104,
    "c": 0.18366,
    "h": 126.7
  },
  "luminance": 0.58018
}

Semantic roles & 50–950 ramp

primary
#A5D942
secondary
#52338C
accent
#3EE979
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5D942

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

Preview Lab → · Contrast checker → · Palette generator →

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