#A5CD42#A5CD42

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

Color values

HEX#A5CD42
RGBrgb(165, 205, 66)
HSLhsl(77, 58%, 53%)
HSVhsv(77, 68%, 80%)
CMYKcmyk(19.5%, 0%, 67.8%, 19.6%)
CIE-LABlab(77.31, -32.80, 61.95)
CIE-LCHlch(77.31, 70.10, 117.90°)
OKLaboklab(79.32% -0.0948 0.1399)
OKLCHoklch(79.32% 0.169 124.1)
XYZxyz(38.3321, 52.0550, 13.1814)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD42 #6A42CD
analogous
#CDAF42 #A5CD42 #5FCD42
triadic
#A5CD42 #42A5CD #CD42A5
tetradic
#A5CD42 #42CDAF #6A42CD #CD425F
square
#A5CD42 #42CDAF #6A42CD #CD425F
split-complementary
#A5CD42 #425FCD #AF42CD
monochromatic
#5D761F #83A62C #A5CD42 #BCDA72 #D3E7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5CD42#FFFFFF#000000##000000
##A5CD421.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)
#D8C02D
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#ADC3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a5cd42;
/* rgb */ color: rgb(165, 205, 66);
/* oklch */ color: oklch(79.3% 0.169 124.1);
Tailwind
colors: {
  custom: {
    50: '#c3dc7e',
    500: '#a5cd42',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd42;
$custom-light: #c3dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd42",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 77.266,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79324,
    "c": 0.16897,
    "h": 124.1
  },
  "luminance": 0.52055
}

Semantic roles & 50–950 ramp

primary
#A5CD42
secondary
#4A357E
accent
#46E173
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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