#A8A962#A8A962

#A8A962 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.093 H 109.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A8A962
RGBrgb(168, 169, 98)
HSLhsl(61, 29%, 52%)
HSVhsv(61, 42%, 66%)
CMYKcmyk(0.6%, 0%, 42%, 33.7%)
CIE-LABlab(67.71, -11.04, 36.44)
CIE-LCHlch(67.71, 38.08, 106.86°)
OKLaboklab(71.78% -0.0308 0.0882)
OKLCHoklch(71.78% 0.093 109.2)
XYZxyz(32.5415, 37.5833, 17.0930)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A962 #6362A9
analogous
#A98762 #A8A962 #85A962
triadic
#A8A962 #62A8A9 #A962A8
tetradic
#A8A962 #62A987 #6362A9 #A96285
square
#A8A962 #62A987 #6362A9 #A96285
split-complementary
#A8A962 #6285A9 #8762A9
monochromatic
#5D5D33 #848549 #A8A962 #BEBF8A #D4D4B1

Accessibility & contrast

On white

2.47
#A8A962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A8A962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A962
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A962#FFFFFF#000000##000000
##A8A9621.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A45C
Deuteranopia (green-blind)
#B4A665
Tritanopia (blue-blind)
#B1A198
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8a962;
/* rgb */ color: rgb(168, 169, 98);
/* oklch */ color: oklch(71.8% 0.093 109.2);
Tailwind
colors: {
  custom: {
    50: '#c3c290',
    500: '#a8a962',
    950: '#000000',
  },
}
SCSS
$custom: #a8a962;
$custom-light: #c3c290;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a962",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 60.845,
    "s": 29.218,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.09339,
    "h": 109.2
  },
  "luminance": 0.37583
}

Semantic roles & 50–950 ramp

primary
#A8A962
secondary
#A4A4C3
accent
#62C564
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A962

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

Preview Lab → · Contrast checker → · Palette generator →

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