#A5C031#A5C031

#A5C031 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.2% C 0.164 H 120.0°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#A5C031
RGBrgb(165, 192, 49)
HSLhsl(71, 59%, 47%)
HSVhsv(71, 74%, 75%)
CMYKcmyk(14.1%, 0%, 74.5%, 24.7%)
CIE-LABlab(73.49, -27.63, 64.28)
CIE-LCHlch(73.49, 69.97, 113.26°)
OKLaboklab(76.21% -0.082 0.1421)
OKLCHoklch(76.21% 0.164 120)
XYZxyz(34.9217, 45.9205, 9.9290)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C031 #4C31C0
analogous
#C09431 #A5C031 #5DC031
triadic
#A5C031 #31A5C0 #C031A5
tetradic
#A5C031 #31C094 #4C31C0 #C0315D
square
#A5C031 #31C094 #4C31C0 #C0315D
split-complementary
#A5C031 #315DC0 #9431C0
monochromatic
#515E18 #7B8F25 #A5C031 #BDD559 #D1E18A

Accessibility & contrast

On white

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

On black

10.18
#A5C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C031
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C031#FFFFFF#000000##000000
##A5C0311.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB511
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#AFB6A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5c031;
/* rgb */ color: rgb(165, 192, 49);
/* oklch */ color: oklch(76.2% 0.164 120.0);
Tailwind
colors: {
  custom: {
    50: '#c3d374',
    500: '#a5c031',
    950: '#000000',
  },
}
SCSS
$custom: #a5c031;
$custom-light: #c3d374;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c031",
  "rgb": {
    "r": 165,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 71.329,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76207,
    "c": 0.16409,
    "h": 120
  },
  "luminance": 0.4592
}

Semantic roles & 50–950 ramp

primary
#A5C031
secondary
#8F82CB
accent
#45E363
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5C031

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

Preview Lab → · Contrast checker → · Palette generator →

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