#A5A71E#A5A71E

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

Color values

HEX#A5A71E
RGBrgb(165, 167, 30)
HSLhsl(61, 70%, 39%)
HSVhsv(61, 82%, 65%)
CMYKcmyk(1.2%, 0%, 82%, 34.5%)
CIE-LABlab(66.31, -16.00, 63.49)
CIE-LCHlch(66.31, 65.47, 104.14°)
OKLaboklab(70.41% -0.0513 0.1371)
OKLCHoklch(70.41% 0.146 110.5)
XYZxyz(29.5712, 35.7314, 6.5672)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A71E #201EA7
analogous
#A7641E #A5A71E #60A71E
triadic
#A5A71E #1EA5A7 #A71EA5
tetradic
#A5A71E #1EA764 #201EA7 #A71E60
square
#A5A71E #1EA764 #201EA7 #A71E60
split-complementary
#A5A71E #1E60A7 #641EA7
monochromatic
#3E3F0B #727315 #A5A71E #D6D92A #E0E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A71E#FFFFFF#000000##000000
##A5A71E1.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)
#B6A32C
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a71e;
/* rgb */ color: rgb(165, 167, 30);
/* oklch */ color: oklch(70.4% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c068',
    500: '#a5a71e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a71e;
$custom-light: #c4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a71e",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 60.876,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.14641,
    "h": 110.5
  },
  "luminance": 0.35731
}

Semantic roles & 50–950 ramp

primary
#A5A71E
secondary
#5C5BC6
accent
#3BEC3E
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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