#A8A02E#A8A02E

#A8A02E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.131 H 105.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A8A02E
RGBrgb(168, 160, 46)
HSLhsl(56, 57%, 42%)
HSVhsv(56, 73%, 66%)
CMYKcmyk(0%, 4.8%, 72.6%, 34.1%)
CIE-LABlab(64.70, -10.39, 56.99)
CIE-LCHlch(64.70, 57.93, 100.34°)
OKLaboklab(69.21% -0.0345 0.1261)
OKLCHoklch(69.21% 0.131 105.3)
XYZxyz(29.2136, 33.6648, 7.5434)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A02E #2E36A8
analogous
#A8632E #A8A02E #73A82E
triadic
#A8A02E #2EA8A0 #A02EA8
tetradic
#A8A02E #2EA863 #2E36A8 #A82E73
square
#A8A02E #2EA863 #2E36A8 #A82E73
split-complementary
#A8A02E #2E73A8 #632EA8
monochromatic
#484414 #787221 #A8A02E #CDC447 #DAD377

Accessibility & contrast

On white

2.72
#A8A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A8A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A02E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A02E#FFFFFF#000000##000000
##A8A02E1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B5958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a02e;
/* rgb */ color: rgb(168, 160, 46);
/* oklch */ color: oklch(69.2% 0.131 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bb6f',
    500: '#a8a02e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a02e;
$custom-light: #c5bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a02e",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 56.066,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69209,
    "c": 0.13074,
    "h": 105.3
  },
  "luminance": 0.33664
}

Semantic roles & 50–950 ramp

primary
#A8A02E
secondary
#7075C2
accent
#52E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A8A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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