#A5AB32#A5AB32

#A5AB32 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.140 H 112.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A5AB32
RGBrgb(165, 171, 50)
HSLhsl(63, 55%, 43%)
HSVhsv(63, 71%, 67%)
CMYKcmyk(3.5%, 0%, 70.8%, 32.9%)
CIE-LABlab(67.54, -17.20, 58.19)
CIE-LCHlch(67.54, 60.68, 106.47°)
OKLaboklab(71.43% -0.053 0.1295)
OKLCHoklch(71.43% 0.14 112.3)
XYZxyz(30.6566, 37.3562, 8.6125)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB32 #3832AB
analogous
#AB7432 #A5AB32 #68AB32
triadic
#A5AB32 #32A5AB #AB32A5
tetradic
#A5AB32 #32AB74 #3832AB #AB3268
square
#A5AB32 #32AB74 #3832AB #AB3268
split-complementary
#A5AB32 #3268AB #7432AB
monochromatic
#4A4C16 #777C24 #A5AB32 #C5CB4F #D5D97E

Accessibility & contrast

On white

2.48
#A5AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A5AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB32
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB32#FFFFFF#000000##000000
##A5AB321.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#B0A193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab32;
/* rgb */ color: rgb(165, 171, 50);
/* oklch */ color: oklch(71.4% 0.140 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c372',
    500: '#a5ab32',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab32;
$custom-light: #c3c372;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab32",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 62.975,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71429,
    "c": 0.13989,
    "h": 112.3
  },
  "luminance": 0.37355
}

Semantic roles & 50–950 ramp

primary
#A5AB32
secondary
#7A77C2
accent
#4ADE51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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