#A5C22D#A5C22D

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

Color values

HEX#A5C22D
RGBrgb(165, 194, 45)
HSLhsl(72, 62%, 47%)
HSVhsv(72, 77%, 76%)
CMYKcmyk(14.9%, 0%, 76.8%, 23.9%)
CIE-LABlab(74.04, -28.77, 66.07)
CIE-LCHlch(74.04, 72.07, 113.53°)
OKLaboklab(76.64% -0.0854 0.1453)
OKLCHoklch(76.64% 0.169 120.5)
XYZxyz(35.2832, 46.7725, 9.6513)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C22D #4A2DC2
analogous
#C2952D #A5C22D #5BC22D
triadic
#A5C22D #2DA5C2 #C22DA5
tetradic
#A5C22D #2DC295 #4A2DC2 #C22D5B
square
#A5C22D #2DC295 #4A2DC2 #C22D5B
split-complementary
#A5C22D #2D5BC2 #952DC2
monochromatic
#505F16 #7B9021 #A5C22D #BED755 #D1E386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5C22D#FFFFFF#000000##000000
##A5C22D1.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)
#CEB601
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#AFB8A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c22d;
/* rgb */ color: rgb(165, 194, 45);
/* oklch */ color: oklch(76.6% 0.169 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d472',
    500: '#a5c22d',
    950: '#000000',
  },
}
SCSS
$custom: #a5c22d;
$custom-light: #c3d472;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c22d",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 71.678,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76644,
    "c": 0.16852,
    "h": 120.5
  },
  "luminance": 0.46772
}

Semantic roles & 50–950 ramp

primary
#A5C22D
secondary
#8E7ECD
accent
#42E562
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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