#A8A747#A8A747

#A8A747 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.0% C 0.119 H 108.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A8A747
RGBrgb(168, 167, 71)
HSLhsl(59, 41%, 47%)
HSVhsv(59, 58%, 66%)
CMYKcmyk(0%, 0.6%, 57.7%, 34.1%)
CIE-LABlab(66.84, -12.50, 48.70)
CIE-LCHlch(66.84, 50.27, 104.39°)
OKLaboklab(70.98% -0.0377 0.1125)
OKLCHoklch(70.98% 0.119 108.5)
XYZxyz(31.1054, 36.4180, 11.3509)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A747 #4748A8
analogous
#A87647 #A8A747 #79A847
triadic
#A8A747 #47A8A7 #A747A8
tetradic
#A8A747 #47A876 #4748A8 #A84779
square
#A8A747 #47A876 #4748A8 #A84779
split-complementary
#A8A747 #4779A8 #7647A8
monochromatic
#525123 #7D7C35 #A8A747 #C1C06C #D3D297

Accessibility & contrast

On white

2.54
#A8A747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A8A747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A747
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A747#FFFFFF#000000##000000
##A8A7471.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13D
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#B39D92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a747;
/* rgb */ color: rgb(168, 167, 71);
/* oklch */ color: oklch(71.0% 0.119 108.5);
Tailwind
colors: {
  custom: {
    50: '#c4c07e',
    500: '#a8a747',
    950: '#000000',
  },
}
SCSS
$custom: #a8a747;
$custom-light: #c4c07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a747",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 71
  },
  "hsl": {
    "h": 59.381,
    "s": 40.586,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7098,
    "c": 0.11865,
    "h": 108.5
  },
  "luminance": 0.36417
}

Semantic roles & 50–950 ramp

primary
#A8A747
secondary
#8C8CBF
accent
#59D057
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A747

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

Preview Lab → · Contrast checker → · Palette generator →

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