#A8A862#A8A862

#A8A862 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.092 H 108.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A8A862
RGBrgb(168, 168, 98)
HSLhsl(60, 29%, 52%)
HSVhsv(60, 42%, 66%)
CMYKcmyk(0%, 0%, 41.7%, 34.1%)
CIE-LABlab(67.44, -10.52, 36.10)
CIE-LCHlch(67.44, 37.60, 106.25°)
OKLaboklab(71.56% -0.0293 0.0874)
OKLCHoklch(71.56% 0.092 108.5)
XYZxyz(32.3562, 37.2126, 17.0312)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A862 #6262A8
analogous
#A88562 #A8A862 #85A862
triadic
#A8A862 #62A8A8 #A862A8
tetradic
#A8A862 #62A885 #6262A8 #A86285
square
#A8A862 #62A885 #6262A8 #A86285
split-complementary
#A8A862 #6285A8 #8562A8
monochromatic
#5C5C33 #848449 #A8A862 #BEBE89 #D4D4B1

Accessibility & contrast

On white

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

On black

8.44
#A8A862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A862
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A862#FFFFFF#000000##000000
##A8A8621.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A35C
Deuteranopia (green-blind)
#B3A665
Tritanopia (blue-blind)
#B1A097
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a862;
/* rgb */ color: rgb(168, 168, 98);
/* oklch */ color: oklch(71.6% 0.092 108.5);
Tailwind
colors: {
  custom: {
    50: '#c3c190',
    500: '#a8a862',
    950: '#000000',
  },
}
SCSS
$custom: #a8a862;
$custom-light: #c3c190;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a862",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.09216,
    "h": 108.5
  },
  "luminance": 0.37212
}

Semantic roles & 50–950 ramp

primary
#A8A862
secondary
#A4A4C2
accent
#63C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A862

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

Preview Lab → · Contrast checker → · Palette generator →

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