#A8AF71#A8AF71

#A8AF71 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.084 H 113.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A8AF71
RGBrgb(168, 175, 113)
HSLhsl(67, 28%, 56%)
HSVhsv(67, 35%, 69%)
CMYKcmyk(4%, 0%, 35.4%, 31.4%)
CIE-LABlab(69.60, -12.42, 31.01)
CIE-LCHlch(69.60, 33.40, 111.83°)
OKLaboklab(73.35% -0.0336 0.0765)
OKLCHoklch(73.35% 0.084 113.7)
XYZxyz(34.4592, 40.1774, 21.5593)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF71 #7871AF
analogous
#AF9771 #A8AF71 #89AF71
triadic
#A8AF71 #71A8AF #AF71A8
tetradic
#A8AF71 #71AF97 #7871AF #AF7189
square
#A8AF71 #71AF97 #7871AF #AF7189
split-complementary
#A8AF71 #7189AF #9771AF
monochromatic
#656A3C #8A9152 #A8AF71 #C0C598 #D8DBBF

Accessibility & contrast

On white

2.32
#A8AF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A8AF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF71
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF71#FFFFFF#000000##000000
##A8AF711.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A96D
Deuteranopia (green-blind)
#B7AB74
Tritanopia (blue-blind)
#AFA89F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8af71;
/* rgb */ color: rgb(168, 175, 113);
/* oklch */ color: oklch(73.4% 0.084 113.7);
Tailwind
colors: {
  custom: {
    50: '#c2c69a',
    500: '#a8af71',
    950: '#000000',
  },
}
SCSS
$custom: #a8af71;
$custom-light: #c2c69a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af71",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 66.774,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.73352,
    "c": 0.08355,
    "h": 113.7
  },
  "luminance": 0.40177
}

Semantic roles & 50–950 ramp

primary
#A8AF71
secondary
#B4B1CB
accent
#64C46E
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A8AF71

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

Preview Lab → · Contrast checker → · Palette generator →

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