#A8A71E#A8A71E

#A8A71E is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.146 H 109.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A8A71E
RGBrgb(168, 167, 30)
HSLhsl(60, 70%, 39%)
HSVhsv(60, 82%, 66%)
CMYKcmyk(0%, 0.6%, 82.1%, 34.1%)
CIE-LABlab(66.56, -14.68, 63.80)
CIE-LCHlch(66.56, 65.47, 102.96°)
OKLaboklab(70.67% -0.0478 0.1377)
OKLCHoklch(70.67% 0.146 109.2)
XYZxyz(30.2027, 36.0570, 6.5968)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A71E #1E1FA8
analogous
#A8621E #A8A71E #64A81E
triadic
#A8A71E #1EA8A7 #A71EA8
tetradic
#A8A71E #1EA862 #1E1FA8 #A81E64
square
#A8A71E #1EA862 #1E1FA8 #A81E64
split-complementary
#A8A71E #1E64A8 #621EA8
monochromatic
#40400B #747315 #A8A71E #D9D82A #E2E15E

Accessibility & contrast

On white

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

On black

8.21
#A8A71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A71E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A71E#FFFFFF#000000##000000
##A8A71E1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a71e;
/* rgb */ color: rgb(168, 167, 30);
/* oklch */ color: oklch(70.7% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#c6c069',
    500: '#a8a71e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a71e;
$custom-light: #c6c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a71e",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 59.565,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.14572,
    "h": 109.2
  },
  "luminance": 0.36056
}

Semantic roles & 50–950 ramp

primary
#A8A71E
secondary
#5B5CC7
accent
#3DED3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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