#A8A047#A8A047

#A8A047 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.111 H 104.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A8A047
RGBrgb(168, 160, 71)
HSLhsl(55, 41%, 47%)
HSVhsv(55, 58%, 66%)
CMYKcmyk(0%, 4.8%, 57.7%, 34.1%)
CIE-LABlab(64.90, -8.82, 46.52)
CIE-LCHlch(64.90, 47.35, 100.73°)
OKLaboklab(69.44% -0.0272 0.1079)
OKLCHoklch(69.44% 0.111 104.2)
XYZxyz(29.8576, 33.9224, 10.9349)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A047 #474FA8
analogous
#A87047 #A8A047 #80A847
triadic
#A8A047 #47A8A0 #A047A8
tetradic
#A8A047 #47A870 #474FA8 #A84780
square
#A8A047 #47A870 #474FA8 #A84780
split-complementary
#A8A047 #4780A8 #7047A8
monochromatic
#524E23 #7D7735 #A8A047 #C1BA6C #D3CE97

Accessibility & contrast

On white

2.70
#A8A047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A8A047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A047
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A047#FFFFFF#000000##000000
##A8A0471.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3E
Deuteranopia (green-blind)
#B09F4C
Tritanopia (blue-blind)
#B3968C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a047;
/* rgb */ color: rgb(168, 160, 71);
/* oklch */ color: oklch(69.4% 0.111 104.2);
Tailwind
colors: {
  custom: {
    50: '#c4bb7d',
    500: '#a8a047',
    950: '#000000',
  },
}
SCSS
$custom: #a8a047;
$custom-light: #c4bb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a047",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 55.052,
    "s": 40.586,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69438,
    "c": 0.11123,
    "h": 104.2
  },
  "luminance": 0.33921
}

Semantic roles & 50–950 ramp

primary
#A8A047
secondary
#8C90BF
accent
#61D057
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A8A047

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

Preview Lab → · Contrast checker → · Palette generator →

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