#A8A72F#A8A72F

#A8A72F is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.137 H 109.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A8A72F
RGBrgb(168, 167, 47)
HSLhsl(60, 56%, 42%)
HSVhsv(60, 72%, 66%)
CMYKcmyk(0%, 0.6%, 72%, 34.1%)
CIE-LABlab(66.65, -14.00, 58.51)
CIE-LCHlch(66.65, 60.16, 103.46°)
OKLaboklab(70.77% -0.0445 0.1295)
OKLCHoklch(70.77% 0.137 109)
XYZxyz(30.4814, 36.1684, 8.0643)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A72F #2F30A8
analogous
#A86B2F #A8A72F #6DA82F
triadic
#A8A72F #2FA8A7 #A72FA8
tetradic
#A8A72F #2FA86B #2F30A8 #A82F6D
square
#A8A72F #2FA86B #2F30A8 #A82F6D
split-complementary
#A8A72F #2F6DA8 #6B2FA8
monochromatic
#484814 #787722 #A8A72F #CCCB48 #D9D878

Accessibility & contrast

On white

2.55
#A8A72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A8A72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A72F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A72F#FFFFFF#000000##000000
##A8A72F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#B49C90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a72f;
/* rgb */ color: rgb(168, 167, 47);
/* oklch */ color: oklch(70.8% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#c5c070',
    500: '#a8a72f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a72f;
$custom-light: #c5c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a72f",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 59.504,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70768,
    "c": 0.13694,
    "h": 109
  },
  "luminance": 0.36167
}

Semantic roles & 50–950 ramp

primary
#A8A72F
secondary
#7172C1
accent
#49E048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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