#A5CD40#A5CD40

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

Color values

HEX#A5CD40
RGBrgb(165, 205, 64)
HSLhsl(77, 59%, 53%)
HSVhsv(77, 69%, 80%)
CMYKcmyk(19.5%, 0%, 68.8%, 19.6%)
CIE-LABlab(77.30, -32.93, 62.69)
CIE-LCHlch(77.30, 70.81, 117.71°)
OKLaboklab(79.31% -0.0953 0.1412)
OKLCHoklch(79.31% 0.17 124)
XYZxyz(38.2741, 52.0318, 12.8762)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD40 #6840CD
analogous
#CDAE40 #A5CD40 #5FCD40
triadic
#A5CD40 #40A5CD #CD40A5
tetradic
#A5CD40 #40CDAE #6840CD #CD405F
square
#A5CD40 #40CDAE #6840CD #CD405F
split-complementary
#A5CD40 #405FCD #AE40CD
monochromatic
#5C741E #82A52B #A5CD40 #BCDA71 #D3E6A1

Accessibility & contrast

On white

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

On black

11.41
#A5CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CD40
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CD40#FFFFFF#000000##000000
##A5CD401.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5cd40;
/* rgb */ color: rgb(165, 205, 64);
/* oklch */ color: oklch(79.3% 0.170 124.0);
Tailwind
colors: {
  custom: {
    50: '#c3dc7d',
    500: '#a5cd40',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd40;
$custom-light: #c3dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd40",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 77.021,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79308,
    "c": 0.17033,
    "h": 124
  },
  "luminance": 0.52032
}

Semantic roles & 50–950 ramp

primary
#A5CD40
secondary
#49347D
accent
#46E272
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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