#A5A132#A5A132

#A5A132 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.129 H 107.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A5A132
RGBrgb(165, 161, 50)
HSLhsl(58, 53%, 42%)
HSVhsv(58, 70%, 65%)
CMYKcmyk(0%, 2.4%, 69.7%, 35.3%)
CIE-LABlab(64.74, -12.04, 55.42)
CIE-LCHlch(64.74, 56.71, 102.25°)
OKLaboklab(69.19% -0.0385 0.1236)
OKLCHoklch(69.19% 0.129 107.3)
XYZxyz(28.8387, 33.7203, 8.0066)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A132 #3236A5
analogous
#A56832 #A5A132 #70A532
triadic
#A5A132 #32A5A1 #A132A5
tetradic
#A5A132 #32A568 #3236A5 #A53270
square
#A5A132 #32A568 #3236A5 #A53270
split-complementary
#A5A132 #3270A5 #6832A5
monochromatic
#474516 #767324 #A5A132 #C9C44C #D7D47B

Accessibility & contrast

On white

2.71
#A5A132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A5A132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A132
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A132#FFFFFF#000000##000000
##A5A1321.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B21
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a132;
/* rgb */ color: rgb(165, 161, 50);
/* oklch */ color: oklch(69.2% 0.129 107.3);
Tailwind
colors: {
  custom: {
    50: '#c3bc71',
    500: '#a5a132',
    950: '#000000',
  },
}
SCSS
$custom: #a5a132;
$custom-light: #c3bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a132",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 57.913,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6919,
    "c": 0.12948,
    "h": 107.3
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#A5A132
secondary
#7376BF
accent
#50DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A132

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

Preview Lab → · Contrast checker → · Palette generator →

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