#A5B32A#A5B32A

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

Color values

HEX#A5B32A
RGBrgb(165, 179, 42)
HSLhsl(66, 62%, 43%)
HSVhsv(66, 77%, 70%)
CMYKcmyk(7.8%, 0%, 76.5%, 29.8%)
CIE-LABlab(69.76, -21.61, 63.06)
CIE-LCHlch(69.76, 66.66, 108.92°)
OKLaboklab(73.19% -0.066 0.1383)
OKLCHoklch(73.19% 0.153 115.5)
XYZxyz(32.0560, 40.4072, 8.3007)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B32A #382AB3
analogous
#B37C2A #A5B32A #61B32A
triadic
#A5B32A #2AA5B3 #B32AA5
tetradic
#A5B32A #2AB37C #382AB3 #B32A61
square
#A5B32A #2AB37C #382AB3 #B32A61
split-complementary
#A5B32A #2A61B3 #7C2AB3
monochromatic
#4A5013 #77811E #A5B32A #C5D446 #D5DF78

Accessibility & contrast

On white

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

On black

9.08
#A5B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B32A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B32A#FFFFFF#000000##000000
##A5B32A1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA04
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b32a;
/* rgb */ color: rgb(165, 179, 42);
/* oklch */ color: oklch(73.2% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c96f',
    500: '#a5b32a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b32a;
$custom-light: #c3c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b32a",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 66.131,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7319,
    "c": 0.15326,
    "h": 115.5
  },
  "luminance": 0.40407
}

Semantic roles & 50–950 ramp

primary
#A5B32A
secondary
#7A72C7
accent
#43E553
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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