#A5CD3C#A5CD3C

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

Color values

HEX#A5CD3C
RGBrgb(165, 205, 60)
HSLhsl(77, 59%, 52%)
HSVhsv(77, 71%, 80%)
CMYKcmyk(19.5%, 0%, 70.7%, 19.6%)
CIE-LABlab(77.27, -33.17, 64.14)
CIE-LCHlch(77.27, 72.21, 117.34°)
OKLaboklab(79.28% -0.0963 0.1436)
OKLCHoklch(79.28% 0.173 123.8)
XYZxyz(38.1644, 51.9879, 12.2981)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD3C #643CCD
analogous
#CDAD3C #A5CD3C #5CCD3C
triadic
#A5CD3C #3CA5CD #CD3CA5
tetradic
#A5CD3C #3CCDAD #643CCD #CD3C5C
square
#A5CD3C #3CCDAD #643CCD #CD3C5C
split-complementary
#A5CD3C #3C5CCD #AD3CCD
monochromatic
#5A711D #81A22A #A5CD3C #BBD96D #D2E69D

Accessibility & contrast

On white

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

On black

11.40
#A5CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CD3C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CD3C#FFFFFF#000000##000000
##A5CD3C1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C023
Deuteranopia (green-blind)
#D3BF48
Tritanopia (blue-blind)
#ADC3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a5cd3c;
/* rgb */ color: rgb(165, 205, 60);
/* oklch */ color: oklch(79.3% 0.173 123.8);
Tailwind
colors: {
  custom: {
    50: '#c3dc7b',
    500: '#a5cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd3c;
$custom-light: #c3dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd3c",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 76.552,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79278,
    "c": 0.1729,
    "h": 123.8
  },
  "luminance": 0.51988
}

Semantic roles & 50–950 ramp

primary
#A5CD3C
secondary
#47337A
accent
#45E271
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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