#A8AA2A#A8AA2A

#A8AA2A is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.143 H 110.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A8AA2A
RGBrgb(168, 170, 42)
HSLhsl(61, 60%, 42%)
HSVhsv(61, 75%, 67%)
CMYKcmyk(1.2%, 0%, 75.3%, 33.3%)
CIE-LABlab(67.46, -15.77, 61.01)
CIE-LCHlch(67.46, 63.02, 104.50°)
OKLaboklab(71.41% -0.0499 0.1339)
OKLCHoklch(71.41% 0.143 110.4)
XYZxyz(30.9422, 37.2423, 7.7486)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA2A #2C2AAA
analogous
#AA6C2A #A8AA2A #68AA2A
triadic
#A8AA2A #2AA8AA #AA2AA8
tetradic
#A8AA2A #2AAA6C #2C2AAA #AA2A68
square
#A8AA2A #2AAA6C #2C2AAA #AA2A68
split-complementary
#A8AA2A #2A68AA #6C2AAA
monochromatic
#474812 #78791E #A8AA2A #CED041 #DBDC72

Accessibility & contrast

On white

2.49
#A8AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A8AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AA2A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AA2A#FFFFFF#000000##000000
##A8AA2A1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20B
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#B49F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8aa2a;
/* rgb */ color: rgb(168, 170, 42);
/* oklch */ color: oklch(71.4% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36e',
    500: '#a8aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa2a;
$custom-light: #c5c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa2a",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 60.938,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.1429,
    "h": 110.4
  },
  "luminance": 0.37241
}

Semantic roles & 50–950 ramp

primary
#A8AA2A
secondary
#6E6CC3
accent
#44E447
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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