#A4AF47#A4AF47

#A4AF47 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.129 H 114.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A4AF47
RGBrgb(164, 175, 71)
HSLhsl(66, 42%, 48%)
HSVhsv(66, 59%, 69%)
CMYKcmyk(6.3%, 0%, 59.4%, 31.4%)
CIE-LABlab(68.76, -18.30, 50.74)
CIE-LCHlch(68.76, 53.94, 109.84°)
OKLaboklab(72.43% -0.0539 0.1169)
OKLCHoklch(72.43% 0.129 114.7)
XYZxyz(31.7778, 39.0079, 11.8153)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF47 #5247AF
analogous
#AF8647 #A4AF47 #70AF47
triadic
#A4AF47 #47A4AF #AF47A4
tetradic
#A4AF47 #47AF86 #5247AF #AF4770
square
#A4AF47 #47AF86 #5247AF #AF4770
split-complementary
#A4AF47 #4770AF #8647AF
monochromatic
#525824 #7B8335 #A4AF47 #BBC46F #D0D69A

Accessibility & contrast

On white

2.39
#A4AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A4AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF47
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF47#FFFFFF#000000##000000
##A4AF471.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73B
Deuteranopia (green-blind)
#BAA94D
Tritanopia (blue-blind)
#AEA699
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4af47;
/* rgb */ color: rgb(164, 175, 71);
/* oklch */ color: oklch(72.4% 0.129 114.7);
Tailwind
colors: {
  custom: {
    50: '#c1c67e',
    500: '#a4af47',
    950: '#000000',
  },
}
SCSS
$custom: #a4af47;
$custom-light: #c1c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af47",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 66.346,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72434,
    "c": 0.12874,
    "h": 114.7
  },
  "luminance": 0.39007
}

Semantic roles & 50–950 ramp

primary
#A4AF47
secondary
#958FC2
accent
#56D263
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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