#A5B32E#A5B32E

#A5B32E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.151 H 115.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A5B32E
RGBrgb(165, 179, 46)
HSLhsl(66, 59%, 44%)
HSVhsv(66, 74%, 70%)
CMYKcmyk(7.8%, 0%, 74.3%, 29.8%)
CIE-LABlab(69.78, -21.43, 61.76)
CIE-LCHlch(69.78, 65.38, 109.14°)
OKLaboklab(73.21% -0.0651 0.1363)
OKLCHoklch(73.21% 0.151 115.5)
XYZxyz(32.1312, 40.4373, 8.6968)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B32E #3C2EB3
analogous
#B37F2E #A5B32E #63B32E
triadic
#A5B32E #2EA5B3 #B32EA5
tetradic
#A5B32E #2EB37F #3C2EB3 #B32E63
square
#A5B32E #2EB37F #3C2EB3 #B32E63
split-complementary
#A5B32E #2E63B3 #7F2EB3
monochromatic
#4B5215 #788221 #A5B32E #C3D14D #D4DE7E

Accessibility & contrast

On white

2.31
#A5B32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A5B32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B32E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B32E#FFFFFF#000000##000000
##A5B32E1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#B0A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b32e;
/* rgb */ color: rgb(165, 179, 46);
/* oklch */ color: oklch(73.2% 0.151 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c971',
    500: '#a5b32e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b32e;
$custom-light: #c3c971;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b32e",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 66.316,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73214,
    "c": 0.15107,
    "h": 115.5
  },
  "luminance": 0.40437
}

Semantic roles & 50–950 ramp

primary
#A5B32E
secondary
#7F76C6
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B32E

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

Preview Lab → · Contrast checker → · Palette generator →

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