#A5C22A#A5C22A

#A5C22A is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.6% C 0.170 H 120.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#A5C22A
RGBrgb(165, 194, 42)
HSLhsl(71, 64%, 46%)
HSVhsv(71, 78%, 76%)
CMYKcmyk(14.9%, 0%, 78.4%, 23.9%)
CIE-LABlab(74.03, -28.90, 66.96)
CIE-LCHlch(74.03, 72.93, 113.35°)
OKLaboklab(76.63% -0.086 0.1466)
OKLCHoklch(76.63% 0.17 120.4)
XYZxyz(35.2274, 46.7502, 9.3579)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C22A #472AC2
analogous
#C2932A #A5C22A #59C22A
triadic
#A5C22A #2AA5C2 #C22AA5
tetradic
#A5C22A #2AC293 #472AC2 #C22A59
square
#A5C22A #2AC293 #472AC2 #C22A59
split-complementary
#A5C22A #2A59C2 #932AC2
monochromatic
#4F5D14 #7A901F #A5C22A #BFD950 #D1E482

Accessibility & contrast

On white

2.03
#A5C22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#A5C22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C22A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C22A#FFFFFF#000000##000000
##A5C22A1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#AFB7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c22a;
/* rgb */ color: rgb(165, 194, 42);
/* oklch */ color: oklch(76.6% 0.170 120.4);
Tailwind
colors: {
  custom: {
    50: '#c4d471',
    500: '#a5c22a',
    950: '#000000',
  },
}
SCSS
$custom: #a5c22a;
$custom-light: #c4d471;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c22a",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 42
  },
  "hsl": {
    "h": 71.447,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76627,
    "c": 0.17,
    "h": 120.4
  },
  "luminance": 0.4675
}

Semantic roles & 50–950 ramp

primary
#A5C22A
secondary
#8B7BCD
accent
#40E760
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A5C22A

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

Preview Lab → · Contrast checker → · Palette generator →

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