#A8A147#A8A147

#A8A147 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.112 H 104.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A8A147
RGBrgb(168, 161, 71)
HSLhsl(56, 41%, 47%)
HSVhsv(56, 58%, 66%)
CMYKcmyk(0%, 4.2%, 57.7%, 34.1%)
CIE-LABlab(65.18, -9.35, 46.83)
CIE-LCHlch(65.18, 47.76, 101.29°)
OKLaboklab(69.66% -0.0287 0.1085)
OKLCHoklch(69.66% 0.112 104.8)
XYZxyz(30.0316, 34.2705, 10.9929)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A147 #474EA8
analogous
#A87147 #A8A147 #7FA847
triadic
#A8A147 #47A8A1 #A147A8
tetradic
#A8A147 #47A871 #474EA8 #A8477F
square
#A8A147 #47A871 #474EA8 #A8477F
split-complementary
#A8A147 #477FA8 #7147A8
monochromatic
#524F23 #7D7835 #A8A147 #C1BB6C #D3CF97

Accessibility & contrast

On white

2.67
#A8A147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A8A147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A147
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A147#FFFFFF#000000##000000
##A8A1471.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3E
Deuteranopia (green-blind)
#B0A04C
Tritanopia (blue-blind)
#B3978D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a147;
/* rgb */ color: rgb(168, 161, 71);
/* oklch */ color: oklch(69.7% 0.112 104.8);
Tailwind
colors: {
  custom: {
    50: '#c4bc7d',
    500: '#a8a147',
    950: '#000000',
  },
}
SCSS
$custom: #a8a147;
$custom-light: #c4bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a147",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 55.67,
    "s": 40.586,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69657,
    "c": 0.11225,
    "h": 104.8
  },
  "luminance": 0.3427
}

Semantic roles & 50–950 ramp

primary
#A8A147
secondary
#8C90BF
accent
#60D057
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A147

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

Preview Lab → · Contrast checker → · Palette generator →

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