#A8A362#A8A362

#A8A362 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.086 H 104.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A8A362
RGBrgb(168, 163, 98)
HSLhsl(56, 29%, 52%)
HSVhsv(56, 42%, 66%)
CMYKcmyk(0%, 3%, 41.7%, 34.1%)
CIE-LABlab(66.06, -7.87, 34.36)
CIE-LCHlch(66.06, 35.25, 102.91°)
OKLaboklab(70.47% -0.0217 0.0835)
OKLCHoklch(70.47% 0.086 104.6)
XYZxyz(31.4508, 35.4019, 16.7294)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A362 #6267A8
analogous
#A88062 #A8A362 #8AA862
triadic
#A8A362 #62A8A3 #A362A8
tetradic
#A8A362 #62A880 #6267A8 #A8628A
square
#A8A362 #62A880 #6267A8 #A8628A
split-complementary
#A8A362 #628AA8 #8062A8
monochromatic
#5C5933 #848049 #A8A362 #BEBA89 #D4D1B1

Accessibility & contrast

On white

2.60
#A8A362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A8A362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A362
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A362#FFFFFF#000000##000000
##A8A3621.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#B19B93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a362;
/* rgb */ color: rgb(168, 163, 98);
/* oklch */ color: oklch(70.5% 0.086 104.6);
Tailwind
colors: {
  custom: {
    50: '#c3be90',
    500: '#a8a362',
    950: '#000000',
  },
}
SCSS
$custom: #a8a362;
$custom-light: #c3be90;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a362",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 98
  },
  "hsl": {
    "h": 55.714,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.08625,
    "h": 104.6
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#A8A362
secondary
#A4A6C2
accent
#6AC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A362

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

Preview Lab → · Contrast checker → · Palette generator →

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