#A5B032#A5B032

#A5B032 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.145 H 114.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A5B032
RGBrgb(165, 176, 50)
HSLhsl(65, 56%, 44%)
HSVhsv(65, 72%, 69%)
CMYKcmyk(6.2%, 0%, 71.6%, 31%)
CIE-LABlab(68.95, -19.73, 59.57)
CIE-LCHlch(68.95, 62.75, 108.33°)
OKLaboklab(72.56% -0.06 0.1324)
OKLCHoklch(72.56% 0.145 114.4)
XYZxyz(31.6190, 39.2809, 8.9333)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B032 #3D32B0
analogous
#B07C32 #A5B032 #66B032
triadic
#A5B032 #32A5B0 #B032A5
tetradic
#A5B032 #32B07C #3D32B0 #B03266
square
#A5B032 #32B07C #3D32B0 #B03266
split-complementary
#A5B032 #3266B0 #7C32B0
monochromatic
#4C5117 #788024 #A5B032 #C3CE51 #D3DB81

Accessibility & contrast

On white

2.37
#A5B032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A5B032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B032
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B032#FFFFFF#000000##000000
##A5B0321.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71B
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#B0A697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b032;
/* rgb */ color: rgb(165, 176, 50);
/* oklch */ color: oklch(72.6% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c773',
    500: '#a5b032',
    950: '#000000',
  },
}
SCSS
$custom: #a5b032;
$custom-light: #c3c773;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b032",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 65.238,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.14535,
    "h": 114.4
  },
  "luminance": 0.3928
}

Semantic roles & 50–950 ramp

primary
#A5B032
secondary
#8079C4
accent
#49DF56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B032

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

Preview Lab → · Contrast checker → · Palette generator →

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