#A7A71D#A7A71D

#A7A71D is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.146 H 109.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A7A71D
RGBrgb(167, 167, 29)
HSLhsl(60, 70%, 38%)
HSVhsv(60, 83%, 65%)
CMYKcmyk(0%, 0%, 82.6%, 34.5%)
CIE-LABlab(66.48, -15.15, 63.95)
CIE-LCHlch(66.48, 65.72, 103.33°)
OKLaboklab(70.58% -0.0492 0.1379)
OKLCHoklch(70.58% 0.146 109.6)
XYZxyz(29.9780, 35.9426, 6.5206)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A71D #1D1DA7
analogous
#A7621D #A7A71D #62A71D
triadic
#A7A71D #1DA7A7 #A71DA7
tetradic
#A7A71D #1DA762 #1D1DA7 #A71D62
square
#A7A71D #1DA762 #1D1DA7 #A71D62
split-complementary
#A7A71D #1D62A7 #621DA7
monochromatic
#3F3F0B #737314 #A7A71D #DADA28 #E3E35C

Accessibility & contrast

On white

2.56
#A7A71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A7A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A71D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A71D#FFFFFF#000000##000000
##A7A71D1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A32B
Tritanopia (blue-blind)
#B39C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a71d;
/* rgb */ color: rgb(167, 167, 29);
/* oklch */ color: oklch(70.6% 0.146 109.6);
Tailwind
colors: {
  custom: {
    50: '#c5c068',
    500: '#a7a71d',
    950: '#000000',
  },
}
SCSS
$custom: #a7a71d;
$custom-light: #c5c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a71d",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70581,
    "c": 0.14635,
    "h": 109.6
  },
  "luminance": 0.35942
}

Semantic roles & 50–950 ramp

primary
#A7A71D
secondary
#5959C7
accent
#3BED3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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