#A8A372#A8A372

#A8A372 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.067 H 103.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A8A372
RGBrgb(168, 163, 114)
HSLhsl(54, 24%, 55%)
HSVhsv(54, 32%, 66%)
CMYKcmyk(0%, 3%, 32.1%, 34.1%)
CIE-LABlab(66.32, -5.96, 26.16)
CIE-LCHlch(66.32, 26.83, 102.82°)
OKLaboklab(70.75% -0.0151 0.0652)
OKLCHoklch(70.75% 0.067 103)
XYZxyz(32.2832, 35.7348, 21.1132)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A372 #7277A8
analogous
#A88872 #A8A372 #92A872
triadic
#A8A372 #72A8A3 #A372A8
tetradic
#A8A372 #72A888 #7277A8 #A87292
square
#A8A372 #72A888 #7277A8 #A87292
split-complementary
#A8A372 #7292A8 #8872A8
monochromatic
#635F3D #898454 #A8A372 #BFBC98 #D7D4BE

Accessibility & contrast

On white

2.58
#A8A372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A8A372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A372
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A372#FFFFFF#000000##000000
##A8A3721.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA06F
Deuteranopia (green-blind)
#AEA374
Tritanopia (blue-blind)
#B09D96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a372;
/* rgb */ color: rgb(168, 163, 114);
/* oklch */ color: oklch(70.8% 0.067 103.0);
Tailwind
colors: {
  custom: {
    50: '#c2be9b',
    500: '#a8a372',
    950: '#000000',
  },
}
SCSS
$custom: #a8a372;
$custom-light: #c2be9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a372",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 54.444,
    "s": 23.684,
    "l": 55.294
  },
  "oklch": {
    "l": 0.70754,
    "c": 0.06693,
    "h": 103
  },
  "luminance": 0.35734
}

Semantic roles & 50–950 ramp

primary
#A8A372
secondary
#B0B2C6
accent
#70C068
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A372

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

Preview Lab → · Contrast checker → · Palette generator →

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