#A5A71D#A5A71D

#A5A71D is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.147 H 110.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A5A71D
RGBrgb(165, 167, 29)
HSLhsl(61, 70%, 38%)
HSVhsv(61, 83%, 65%)
CMYKcmyk(1.2%, 0%, 82.6%, 34.5%)
CIE-LABlab(66.31, -16.03, 63.74)
CIE-LCHlch(66.31, 65.73, 104.12°)
OKLaboklab(70.41% -0.0515 0.1375)
OKLCHoklch(70.41% 0.147 110.5)
XYZxyz(29.5587, 35.7263, 6.5010)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A71D #1F1DA7
analogous
#A7641D #A5A71D #60A71D
triadic
#A5A71D #1DA5A7 #A71DA5
tetradic
#A5A71D #1DA764 #1F1DA7 #A71D60
square
#A5A71D #1DA764 #1F1DA7 #A71D60
split-complementary
#A5A71D #1D60A7 #641DA7
monochromatic
#3E3F0B #717314 #A5A71D #D7DA28 #E1E35C

Accessibility & contrast

On white

2.58
#A5A71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A5A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A71D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A71D#FFFFFF#000000##000000
##A5A71D1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32B
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a71d;
/* rgb */ color: rgb(165, 167, 29);
/* oklch */ color: oklch(70.4% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c068',
    500: '#a5a71d',
    950: '#000000',
  },
}
SCSS
$custom: #a5a71d;
$custom-light: #c4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a71d",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 60.87,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70409,
    "c": 0.14682,
    "h": 110.5
  },
  "luminance": 0.35725
}

Semantic roles & 50–950 ramp

primary
#A5A71D
secondary
#5B59C7
accent
#3BED3D
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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