#A5A431#A5A431

#A5A431 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.133 H 108.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A5A431
RGBrgb(165, 164, 49)
HSLhsl(59, 54%, 42%)
HSVhsv(59, 70%, 65%)
CMYKcmyk(0%, 0.6%, 70.3%, 35.3%)
CIE-LABlab(65.57, -13.65, 56.63)
CIE-LCHlch(65.57, 58.25, 103.56°)
OKLaboklab(69.85% -0.0432 0.126)
OKLCHoklch(69.85% 0.133 108.9)
XYZxyz(29.3479, 34.7729, 8.0710)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A431 #3132A5
analogous
#A56A31 #A5A431 #6CA531
triadic
#A5A431 #31A5A4 #A431A5
tetradic
#A5A431 #31A56A #3132A5 #A5316C
square
#A5A431 #31A56A #3132A5 #A5316C
split-complementary
#A5A431 #316CA5 #6A31A5
monochromatic
#474615 #767523 #A5A431 #C9C84A #D7D679

Accessibility & contrast

On white

2.64
#A5A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A5A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A431
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A431#FFFFFF#000000##000000
##A5A4311.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a431;
/* rgb */ color: rgb(165, 164, 49);
/* oklch */ color: oklch(69.9% 0.133 108.9);
Tailwind
colors: {
  custom: {
    50: '#c3be71',
    500: '#a5a431',
    950: '#000000',
  },
}
SCSS
$custom: #a5a431;
$custom-light: #c3be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a431",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 59.483,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69851,
    "c": 0.13319,
    "h": 108.9
  },
  "luminance": 0.34772
}

Semantic roles & 50–950 ramp

primary
#A5A431
secondary
#7273C0
accent
#4CDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A431

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

Preview Lab → · Contrast checker → · Palette generator →

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