#A5A32F#A5A32F

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

Color values

HEX#A5A32F
RGBrgb(165, 163, 47)
HSLhsl(59, 56%, 42%)
HSVhsv(59, 72%, 65%)
CMYKcmyk(0%, 1.2%, 71.5%, 35.3%)
CIE-LABlab(65.28, -13.24, 57.09)
CIE-LCHlch(65.28, 58.61, 103.05°)
OKLaboklab(69.61% -0.0422 0.1266)
OKLCHoklch(69.61% 0.133 108.4)
XYZxyz(29.1284, 34.3999, 7.7942)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A32F #2F31A5
analogous
#A5682F #A5A32F #6CA52F
triadic
#A5A32F #2FA5A3 #A32FA5
tetradic
#A5A32F #2FA568 #2F31A5 #A52F6C
square
#A5A32F #2FA568 #2F31A5 #A52F6C
split-complementary
#A5A32F #2F6CA5 #682FA5
monochromatic
#464514 #757421 #A5A32F #CBC847 #D8D676

Accessibility & contrast

On white

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

On black

7.88
#A5A32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A32F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A32F#FFFFFF#000000##000000
##A5A32F1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a32f;
/* rgb */ color: rgb(165, 163, 47);
/* oklch */ color: oklch(69.6% 0.133 108.4);
Tailwind
colors: {
  custom: {
    50: '#c3be70',
    500: '#a5a32f',
    950: '#000000',
  },
}
SCSS
$custom: #a5a32f;
$custom-light: #c3be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a32f",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 58.983,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.13346,
    "h": 108.4
  },
  "luminance": 0.34399
}

Semantic roles & 50–950 ramp

primary
#A5A32F
secondary
#7071C0
accent
#4BDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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