#A8A02A#A8A02A

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

Color values

HEX#A8A02A
RGBrgb(168, 160, 42)
HSLhsl(56, 60%, 41%)
HSVhsv(56, 75%, 66%)
CMYKcmyk(0%, 4.8%, 75%, 34.1%)
CIE-LABlab(64.67, -10.58, 58.41)
CIE-LCHlch(64.67, 59.36, 100.27°)
OKLaboklab(69.18% -0.0354 0.1284)
OKLCHoklch(69.18% 0.133 105.4)
XYZxyz(29.1384, 33.6347, 7.1473)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A02A #2A32A8
analogous
#A8612A #A8A02A #71A82A
triadic
#A8A02A #2AA8A0 #A02AA8
tetradic
#A8A02A #2AA861 #2A32A8 #A82A71
square
#A8A02A #2AA861 #2A32A8 #A82A71
split-complementary
#A8A02A #2A71A8 #612AA8
monochromatic
#464312 #77711E #A8A02A #CFC640 #DBD571

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A02A#FFFFFF#000000##000000
##A8A02A1.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)
#AE9A12
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B59589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a02a;
/* rgb */ color: rgb(168, 160, 42);
/* oklch */ color: oklch(69.2% 0.133 105.4);
Tailwind
colors: {
  custom: {
    50: '#c5bb6d',
    500: '#a8a02a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a02a;
$custom-light: #c5bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a02a",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 56.19,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69182,
    "c": 0.13317,
    "h": 105.4
  },
  "luminance": 0.33634
}

Semantic roles & 50–950 ramp

primary
#A8A02A
secondary
#6B71C3
accent
#4FE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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