#A5C040#A5C040

#A5C040 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.3% C 0.154 H 120.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#A5C040
RGBrgb(165, 192, 64)
HSLhsl(73, 50%, 50%)
HSVhsv(73, 67%, 75%)
CMYKcmyk(14.1%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.59, -26.79, 58.89)
CIE-LCHlch(73.59, 64.70, 114.46°)
OKLaboklab(76.32% -0.0783 0.1332)
OKLCHoklch(76.32% 0.155 120.5)
XYZxyz(35.2926, 46.0689, 11.8824)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C040 #5B40C0
analogous
#C09B40 #A5C040 #65C040
triadic
#A5C040 #40A5C0 #C040A5
tetradic
#A5C040 #40C09B #5B40C0 #C04065
square
#A5C040 #40C09B #5B40C0 #C04065
split-complementary
#A5C040 #4065C0 #9B40C0
monochromatic
#566421 #7E9230 #A5C040 #BBCF6E #D0DE9C

Accessibility & contrast

On white

2.06
#A5C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#A5C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C040
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C040#FFFFFF#000000##000000
##A5C0401.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#AEB6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a5c040;
/* rgb */ color: rgb(165, 192, 64);
/* oklch */ color: oklch(76.3% 0.154 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d37c',
    500: '#a5c040',
    950: '#000000',
  },
}
SCSS
$custom: #a5c040;
$custom-light: #c3d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c040",
  "rgb": {
    "r": 165,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 72.656,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76315,
    "c": 0.1545,
    "h": 120.5
  },
  "luminance": 0.46069
}

Semantic roles & 50–950 ramp

primary
#A5C040
secondary
#9D91CB
accent
#4EDA6B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A5C040

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

Preview Lab → · Contrast checker → · Palette generator →

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