#A5CD3A#A5CD3A

#A5CD3A is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.3% C 0.174 H 123.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#A5CD3A
RGBrgb(165, 205, 58)
HSLhsl(76, 60%, 52%)
HSVhsv(76, 72%, 80%)
CMYKcmyk(19.5%, 0%, 71.7%, 19.6%)
CIE-LABlab(77.26, -33.28, 64.84)
CIE-LCHlch(77.26, 72.88, 117.17°)
OKLaboklab(79.26% -0.0968 0.1448)
OKLCHoklch(79.26% 0.174 123.8)
XYZxyz(38.1125, 51.9672, 12.0250)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD3A #623ACD
analogous
#CDAC3A #A5CD3A #5CCD3A
triadic
#A5CD3A #3AA5CD #CD3AA5
tetradic
#A5CD3A #3ACDAC #623ACD #CD3A5C
square
#A5CD3A #3ACDAC #623ACD #CD3A5C
split-complementary
#A5CD3A #3A5CCD #AC3ACD
monochromatic
#59701C #80A129 #A5CD3A #BBD96B #D2E69C

Accessibility & contrast

On white

1.84
#A5CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#A5CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CD3A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CD3A#FFFFFF#000000##000000
##A5CD3A1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01F
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#ADC3B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a5cd3a;
/* rgb */ color: rgb(165, 205, 58);
/* oklch */ color: oklch(79.3% 0.174 123.8);
Tailwind
colors: {
  custom: {
    50: '#c3dc7a',
    500: '#a5cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd3a;
$custom-light: #c3dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd3a",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 76.327,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79264,
    "c": 0.17413,
    "h": 123.8
  },
  "luminance": 0.51967
}

Semantic roles & 50–950 ramp

primary
#A5CD3A
secondary
#453279
accent
#45E370
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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