#A5A32A#A5A32A

#A5A32A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.137 H 108.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A5A32A
RGBrgb(165, 163, 42)
HSLhsl(59, 59%, 41%)
HSVhsv(59, 75%, 65%)
CMYKcmyk(0%, 1.2%, 74.5%, 35.3%)
CIE-LABlab(65.25, -13.47, 58.86)
CIE-LCHlch(65.25, 60.38, 102.89°)
OKLaboklab(69.58% -0.0433 0.1295)
OKLCHoklch(69.58% 0.137 108.5)
XYZxyz(29.0333, 34.3618, 7.2932)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A32A #2A2CA5
analogous
#A5652A #A5A32A #6AA52A
triadic
#A5A32A #2AA5A3 #A32AA5
tetradic
#A5A32A #2AA565 #2A2CA5 #A52A6A
square
#A5A32A #2AA565 #2A2CA5 #A52A6A
split-complementary
#A5A32A #2A6AA5 #652AA5
monochromatic
#434311 #74731E #A5A32A #CECC3E #DAD96F

Accessibility & contrast

On white

2.67
#A5A32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A5A32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A32A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A32A#FFFFFF#000000##000000
##A5A32A1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a32a;
/* rgb */ color: rgb(165, 163, 42);
/* oklch */ color: oklch(69.6% 0.137 108.5);
Tailwind
colors: {
  custom: {
    50: '#c3be6d',
    500: '#a5a32a',
    950: '#000000',
  },
}
SCSS
$custom: #a5a32a;
$custom-light: #c3be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a32a",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 59.024,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.13651,
    "h": 108.5
  },
  "luminance": 0.34361
}

Semantic roles & 50–950 ramp

primary
#A5A32A
secondary
#696BC1
accent
#48E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A32A

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

Preview Lab → · Contrast checker → · Palette generator →

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