#A5C22E#A5C22E

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

Color values

HEX#A5C22E
RGBrgb(165, 194, 46)
HSLhsl(72, 62%, 47%)
HSVhsv(72, 76%, 76%)
CMYKcmyk(14.9%, 0%, 76.3%, 23.9%)
CIE-LABlab(74.05, -28.73, 65.77)
CIE-LCHlch(74.05, 71.77, 113.60°)
OKLaboklab(76.65% -0.0853 0.1448)
OKLCHoklch(76.65% 0.168 120.5)
XYZxyz(35.3026, 46.7803, 9.7539)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C22E #4B2EC2
analogous
#C2952E #A5C22E #5BC22E
triadic
#A5C22E #2EA5C2 #C22EA5
tetradic
#A5C22E #2EC295 #4B2EC2 #C22E5B
square
#A5C22E #2EC295 #4B2EC2 #C22E5B
split-complementary
#A5C22E #2E5BC2 #952EC2
monochromatic
#515F17 #7B9122 #A5C22E #BED756 #D1E388

Accessibility & contrast

On white

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

On black

10.36
#A5C22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C22E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C22E#FFFFFF#000000##000000
##A5C22E1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB604
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#AFB8A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c22e;
/* rgb */ color: rgb(165, 194, 46);
/* oklch */ color: oklch(76.6% 0.168 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d473',
    500: '#a5c22e',
    950: '#000000',
  },
}
SCSS
$custom: #a5c22e;
$custom-light: #c3d473;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c22e",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 71.757,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76649,
    "c": 0.16801,
    "h": 120.5
  },
  "luminance": 0.4678
}

Semantic roles & 50–950 ramp

primary
#A5C22E
secondary
#8F7FCC
accent
#43E563
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C22E

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

Preview Lab → · Contrast checker → · Palette generator →

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