#A5C22F#A5C22F

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

Color values

HEX#A5C22F
RGBrgb(165, 194, 47)
HSLhsl(72, 61%, 47%)
HSVhsv(72, 76%, 76%)
CMYKcmyk(14.9%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.05, -28.68, 65.46)
CIE-LCHlch(74.05, 71.47, 113.66°)
OKLaboklab(76.66% -0.085 0.1443)
OKLCHoklch(76.66% 0.167 120.5)
XYZxyz(35.3226, 46.7882, 9.8590)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C22F #4C2FC2
analogous
#C2962F #A5C22F #5BC22F
triadic
#A5C22F #2FA5C2 #C22FA5
tetradic
#A5C22F #2FC296 #4C2FC2 #C22F5B
square
#A5C22F #2FC296 #4C2FC2 #C22F5B
split-complementary
#A5C22F #2F5BC2 #962FC2
monochromatic
#515F17 #7B9123 #A5C22F #BDD658 #D1E289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5C22F#FFFFFF#000000##000000
##A5C22F1.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)
#CEB608
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#AEB8A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c22f;
/* rgb */ color: rgb(165, 194, 47);
/* oklch */ color: oklch(76.7% 0.167 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d473',
    500: '#a5c22f',
    950: '#000000',
  },
}
SCSS
$custom: #a5c22f;
$custom-light: #c3d473;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c22f",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 71.837,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76655,
    "c": 0.16748,
    "h": 120.5
  },
  "luminance": 0.46788
}

Semantic roles & 50–950 ramp

primary
#A5C22F
secondary
#8F81CC
accent
#44E463
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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