#A8A72E#A8A72E

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

Color values

HEX#A8A72E
RGBrgb(168, 167, 46)
HSLhsl(60, 57%, 42%)
HSVhsv(60, 73%, 66%)
CMYKcmyk(0%, 0.6%, 72.6%, 34.1%)
CIE-LABlab(66.64, -14.05, 58.86)
CIE-LCHlch(66.64, 60.52, 103.42°)
OKLaboklab(70.76% -0.0447 0.1301)
OKLCHoklch(70.76% 0.138 109)
XYZxyz(30.4614, 36.1605, 7.9593)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A72E #2E2FA8
analogous
#A86A2E #A8A72E #6CA82E
triadic
#A8A72E #2EA8A7 #A72EA8
tetradic
#A8A72E #2EA86A #2E2FA8 #A82E6C
square
#A8A72E #2EA86A #2E2FA8 #A82E6C
split-complementary
#A8A72E #2E6CA8 #6A2EA8
monochromatic
#484714 #787721 #A8A72E #CDCB47 #DAD977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A72E#FFFFFF#000000##000000
##A8A72E1.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)
#B5A017
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#B49C90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a72e;
/* rgb */ color: rgb(168, 167, 46);
/* oklch */ color: oklch(70.8% 0.138 109.0);
Tailwind
colors: {
  custom: {
    50: '#c5c070',
    500: '#a8a72e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a72e;
$custom-light: #c5c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a72e",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 59.508,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.13756,
    "h": 109
  },
  "luminance": 0.3616
}

Semantic roles & 50–950 ramp

primary
#A8A72E
secondary
#7071C2
accent
#49E048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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