#A5B332#A5B332

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

Color values

HEX#A5B332
RGBrgb(165, 179, 50)
HSLhsl(67, 56%, 45%)
HSVhsv(67, 72%, 70%)
CMYKcmyk(7.8%, 0%, 72.1%, 29.8%)
CIE-LABlab(69.80, -21.23, 60.39)
CIE-LCHlch(69.80, 64.02, 109.37°)
OKLaboklab(73.24% -0.0642 0.1341)
OKLCHoklch(73.24% 0.149 115.6)
XYZxyz(32.2137, 40.4703, 9.1316)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B332 #4032B3
analogous
#B38132 #A5B332 #64B332
triadic
#A5B332 #32A5B3 #B332A5
tetradic
#A5B332 #32B381 #4032B3 #B33264
square
#A5B332 #32B381 #4032B3 #B33264
split-complementary
#A5B332 #3264B3 #8132B3
monochromatic
#4D5317 #798325 #A5B332 #C2CF53 #D3DC83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B332#FFFFFF#000000##000000
##A5B3321.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)
#C0AA1A
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b332;
/* rgb */ color: rgb(165, 179, 50);
/* oklch */ color: oklch(73.2% 0.149 115.6);
Tailwind
colors: {
  custom: {
    50: '#c3c973',
    500: '#a5b332',
    950: '#000000',
  },
}
SCSS
$custom: #a5b332;
$custom-light: #c3c973;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b332",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 66.512,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7324,
    "c": 0.14869,
    "h": 115.6
  },
  "luminance": 0.4047
}

Semantic roles & 50–950 ramp

primary
#A5B332
secondary
#837BC6
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B332

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

Preview Lab → · Contrast checker → · Palette generator →

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