#A5A037#A5A037

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

Color values

HEX#A5A037
RGBrgb(165, 160, 55)
HSLhsl(57, 50%, 43%)
HSVhsv(57, 67%, 65%)
CMYKcmyk(0%, 3%, 66.7%, 35.3%)
CIE-LABlab(64.50, -11.22, 53.15)
CIE-LCHlch(64.50, 54.32, 101.92°)
OKLaboklab(69.01% -0.0357 0.1197)
OKLCHoklch(69.01% 0.125 106.6)
XYZxyz(28.7785, 33.4177, 8.5480)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A037 #373CA5
analogous
#A56937 #A5A037 #73A537
triadic
#A5A037 #37A5A0 #A037A5
tetradic
#A5A037 #37A569 #373CA5 #A53773
square
#A5A037 #37A569 #373CA5 #A53773
split-complementary
#A5A037 #3773A5 #6937A5
monochromatic
#494718 #777328 #A5A037 #C6C153 #D5D181

Accessibility & contrast

On white

2.73
#A5A037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A5A037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A037
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A037#FFFFFF#000000##000000
##A5A0371.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#B09E3E
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a037;
/* rgb */ color: rgb(165, 160, 55);
/* oklch */ color: oklch(69.0% 0.125 106.6);
Tailwind
colors: {
  custom: {
    50: '#c3bb74',
    500: '#a5a037',
    950: '#000000',
  },
}
SCSS
$custom: #a5a037;
$custom-light: #c3bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a037",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 57.273,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69008,
    "c": 0.1249,
    "h": 106.6
  },
  "luminance": 0.33417
}

Semantic roles & 50–950 ramp

primary
#A5A037
secondary
#797CBF
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A037

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

Preview Lab → · Contrast checker → · Palette generator →

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