#A7A71E#A7A71E

#A7A71E 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#A7A71E
RGBrgb(167, 167, 30)
HSLhsl(60, 70%, 39%)
HSVhsv(60, 82%, 65%)
CMYKcmyk(0%, 0%, 82%, 34.5%)
CIE-LABlab(66.48, -15.12, 63.69)
CIE-LCHlch(66.48, 65.46, 103.35°)
OKLaboklab(70.59% -0.049 0.1375)
OKLCHoklch(70.59% 0.146 109.6)
XYZxyz(29.9906, 35.9476, 6.5868)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A71E #1E1EA7
analogous
#A7621E #A7A71E #62A71E
triadic
#A7A71E #1EA7A7 #A71EA7
tetradic
#A7A71E #1EA762 #1E1EA7 #A71E62
square
#A7A71E #1EA762 #1E1EA7 #A71E62
split-complementary
#A7A71E #1E62A7 #621EA7
monochromatic
#3F3F0B #737315 #A7A71E #D9D92A #E2E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A71E#FFFFFF#000000##000000
##A7A71E1.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: #a7a71e;
/* rgb */ color: rgb(167, 167, 30);
/* oklch */ color: oklch(70.6% 0.146 109.6);
Tailwind
colors: {
  custom: {
    50: '#c5c068',
    500: '#a7a71e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a71e;
$custom-light: #c5c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a71e",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.14595,
    "h": 109.6
  },
  "luminance": 0.35947
}

Semantic roles & 50–950 ramp

primary
#A7A71E
secondary
#5B5BC6
accent
#3BEC3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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