#A8A562#A8A562

#A8A562 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.089 H 106.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A562
RGBrgb(168, 165, 98)
HSLhsl(57, 29%, 52%)
HSVhsv(57, 42%, 66%)
CMYKcmyk(0%, 1.8%, 41.7%, 34.1%)
CIE-LABlab(66.61, -8.94, 35.06)
CIE-LCHlch(66.61, 36.18, 104.30°)
OKLaboklab(70.9% -0.0247 0.0851)
OKLCHoklch(70.9% 0.089 106.2)
XYZxyz(31.8087, 36.1177, 16.8487)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A562 #6265A8
analogous
#A88262 #A8A562 #88A862
triadic
#A8A562 #62A8A5 #A562A8
tetradic
#A8A562 #62A882 #6265A8 #A86288
square
#A8A562 #62A882 #6265A8 #A86288
split-complementary
#A8A562 #6288A8 #8262A8
monochromatic
#5C5B33 #848149 #A8A562 #BEBC89 #D4D2B1

Accessibility & contrast

On white

2.55
#A8A562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A8A562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A562
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A562#FFFFFF#000000##000000
##A8A5621.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B1A365
Tritanopia (blue-blind)
#B19D95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a562;
/* rgb */ color: rgb(168, 165, 98);
/* oklch */ color: oklch(70.9% 0.089 106.2);
Tailwind
colors: {
  custom: {
    50: '#c3bf90',
    500: '#a8a562',
    950: '#000000',
  },
}
SCSS
$custom: #a8a562;
$custom-light: #c3bf90;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a562",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 57.429,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.08858,
    "h": 106.2
  },
  "luminance": 0.36117
}

Semantic roles & 50–950 ramp

primary
#A8A562
secondary
#A4A5C2
accent
#67C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A562

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

Preview Lab → · Contrast checker → · Palette generator →

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