#A8A462#A8A462

#A8A462 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.087 H 105.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A8A462
RGBrgb(168, 164, 98)
HSLhsl(57, 29%, 52%)
HSVhsv(57, 42%, 66%)
CMYKcmyk(0%, 2.4%, 41.7%, 34.1%)
CIE-LABlab(66.33, -8.41, 34.71)
CIE-LCHlch(66.33, 35.71, 103.61°)
OKLaboklab(70.69% -0.0232 0.0843)
OKLCHoklch(70.69% 0.087 105.4)
XYZxyz(31.6291, 35.7584, 16.7888)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A462 #6266A8
analogous
#A88162 #A8A462 #89A862
triadic
#A8A462 #62A8A4 #A462A8
tetradic
#A8A462 #62A881 #6266A8 #A86289
square
#A8A462 #62A881 #6266A8 #A86289
split-complementary
#A8A462 #6289A8 #8162A8
monochromatic
#5C5A33 #848049 #A8A462 #BEBB89 #D4D2B1

Accessibility & contrast

On white

2.58
#A8A462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A8A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A462
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A462#FFFFFF#000000##000000
##A8A4621.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B0A365
Tritanopia (blue-blind)
#B19C94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a462;
/* rgb */ color: rgb(168, 164, 98);
/* oklch */ color: oklch(70.7% 0.087 105.4);
Tailwind
colors: {
  custom: {
    50: '#c3be90',
    500: '#a8a462',
    950: '#000000',
  },
}
SCSS
$custom: #a8a462;
$custom-light: #c3be90;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a462",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 56.571,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.08741,
    "h": 105.4
  },
  "luminance": 0.35758
}

Semantic roles & 50–950 ramp

primary
#A8A462
secondary
#A4A5C2
accent
#68C563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A462

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

Preview Lab → · Contrast checker → · Palette generator →

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