#A5C320#A5C320

#A5C320 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.8% C 0.175 H 120.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#A5C320
RGBrgb(165, 195, 32)
HSLhsl(71, 72%, 45%)
HSVhsv(71, 84%, 76%)
CMYKcmyk(15.4%, 0%, 83.6%, 23.5%)
CIE-LABlab(74.28, -29.74, 69.82)
CIE-LCHlch(74.28, 75.89, 113.07°)
OKLaboklab(76.81% -0.089 0.1511)
OKLCHoklch(76.81% 0.175 120.5)
XYZxyz(35.2936, 47.1339, 8.6047)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C320 #3E20C3
analogous
#C39020 #A5C320 #54C320
triadic
#A5C320 #20A5C3 #C320A5
tetradic
#A5C320 #20C390 #3E20C3 #C32054
square
#A5C320 #20C390 #3E20C3 #C32054
split-complementary
#A5C320 #2054C3 #9020C3
monochromatic
#4C5A0F #798E17 #A5C320 #C2E040 #D3E875

Accessibility & contrast

On white

2.01
#A5C320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#A5C320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C320
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C320#FFFFFF#000000##000000
##A5C3201.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CCB733
Tritanopia (blue-blind)
#AFB8A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c320;
/* rgb */ color: rgb(165, 195, 32);
/* oklch */ color: oklch(76.8% 0.175 120.5);
Tailwind
colors: {
  custom: {
    50: '#c4d56d',
    500: '#a5c320',
    950: '#000000',
  },
}
SCSS
$custom: #a5c320;
$custom-light: #c4d56d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c320",
  "rgb": {
    "r": 165,
    "g": 195,
    "b": 32
  },
  "hsl": {
    "h": 71.043,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76813,
    "c": 0.17534,
    "h": 120.5
  },
  "luminance": 0.47134
}

Semantic roles & 50–950 ramp

primary
#A5C320
secondary
#816FCF
accent
#39EF5B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A5C320

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

Preview Lab → · Contrast checker → · Palette generator →

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