#A5A031#A5A031

#A5A031 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.129 H 106.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A5A031
RGBrgb(165, 160, 49)
HSLhsl(57, 54%, 42%)
HSVhsv(57, 70%, 65%)
CMYKcmyk(0%, 3%, 70.3%, 35.3%)
CIE-LABlab(64.45, -11.56, 55.52)
CIE-LCHlch(64.45, 56.71, 101.77°)
OKLaboklab(68.96% -0.0373 0.1237)
OKLCHoklch(68.96% 0.129 106.8)
XYZxyz(28.6433, 33.3637, 7.8362)
Luminance0.3336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A031 #3136A5
analogous
#A56631 #A5A031 #70A531
triadic
#A5A031 #31A5A0 #A031A5
tetradic
#A5A031 #31A566 #3136A5 #A53170
square
#A5A031 #31A566 #3136A5 #A53170
split-complementary
#A5A031 #3170A5 #6631A5
monochromatic
#474415 #767223 #A5A031 #C9C44A #D7D379

Accessibility & contrast

On white

2.74
#A5A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A5A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A031
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A031#FFFFFF#000000##000000
##A5A0311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a031;
/* rgb */ color: rgb(165, 160, 49);
/* oklch */ color: oklch(69.0% 0.129 106.8);
Tailwind
colors: {
  custom: {
    50: '#c3bb70',
    500: '#a5a031',
    950: '#000000',
  },
}
SCSS
$custom: #a5a031;
$custom-light: #c3bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a031",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 57.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6896,
    "c": 0.12917,
    "h": 106.8
  },
  "luminance": 0.33363
}

Semantic roles & 50–950 ramp

primary
#A5A031
secondary
#7275C0
accent
#51DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A031

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

Preview Lab → · Contrast checker → · Palette generator →

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