#A5CC3A#A5CC3A

#A5CC3A is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.0% C 0.173 H 123.5°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#A5CC3A
RGBrgb(165, 204, 58)
HSLhsl(76, 59%, 51%)
HSVhsv(76, 72%, 80%)
CMYKcmyk(19.1%, 0%, 71.6%, 20%)
CIE-LABlab(76.98, -32.82, 64.56)
CIE-LCHlch(76.98, 72.42, 116.95°)
OKLaboklab(79.03% -0.0955 0.1442)
OKLCHoklch(79.03% 0.173 123.5)
XYZxyz(37.8741, 51.4903, 11.9455)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CC3A #613ACC
analogous
#CCAA3A #A5CC3A #5CCC3A
triadic
#A5CC3A #3AA5CC #CC3AA5
tetradic
#A5CC3A #3ACCAA #613ACC #CC3A5C
square
#A5CC3A #3ACCAA #613ACC #CC3A5C
split-complementary
#A5CC3A #3A5CCC #AA3ACC
monochromatic
#596F1D #80A029 #A5CC3A #BBD96B #D1E59B

Accessibility & contrast

On white

1.86
#A5CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#A5CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CC3A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CC3A#FFFFFF#000000##000000
##A5CC3A1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1F
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#ADC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cc3a;
/* rgb */ color: rgb(165, 204, 58);
/* oklch */ color: oklch(79.0% 0.173 123.5);
Tailwind
colors: {
  custom: {
    50: '#c3db7a',
    500: '#a5cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #a5cc3a;
$custom-light: #c3db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cc3a",
  "rgb": {
    "r": 165,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 76.027,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79033,
    "c": 0.17294,
    "h": 123.5
  },
  "luminance": 0.51491
}

Semantic roles & 50–950 ramp

primary
#A5CC3A
secondary
#453278
accent
#46E26F
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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