#A8A72B#A8A72B

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

Color values

HEX#A8A72B
RGBrgb(168, 167, 43)
HSLhsl(60, 59%, 41%)
HSVhsv(60, 74%, 66%)
CMYKcmyk(0%, 0.6%, 74.4%, 34.1%)
CIE-LABlab(66.62, -14.19, 59.90)
CIE-LCHlch(66.62, 61.56, 103.33°)
OKLaboklab(70.74% -0.0454 0.1317)
OKLCHoklch(70.74% 0.139 109)
XYZxyz(30.4043, 36.1376, 7.6587)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A72B #2B2CA8
analogous
#A8692B #A8A72B #6BA82B
triadic
#A8A72B #2BA8A7 #A72BA8
tetradic
#A8A72B #2BA869 #2B2CA8 #A82B6B
square
#A8A72B #2BA869 #2B2CA8 #A82B6B
split-complementary
#A8A72B #2B6BA8 #692BA8
monochromatic
#474612 #77771F #A8A72B #CFCD42 #DBDA72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A72B#FFFFFF#000000##000000
##A8A72B1.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)
#B5A010
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a72b;
/* rgb */ color: rgb(168, 167, 43);
/* oklch */ color: oklch(70.7% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c5c06e',
    500: '#a8a72b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a72b;
$custom-light: #c5c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a72b",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 59.52,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70742,
    "c": 0.13932,
    "h": 109
  },
  "luminance": 0.36137
}

Semantic roles & 50–950 ramp

primary
#A8A72B
secondary
#6C6DC2
accent
#47E245
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A72B

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

Preview Lab → · Contrast checker → · Palette generator →

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