#A8A460#A8A460

#A8A460 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.090 H 105.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A460
RGBrgb(168, 164, 96)
HSLhsl(57, 29%, 52%)
HSVhsv(57, 43%, 66%)
CMYKcmyk(0%, 2.4%, 42.9%, 34.1%)
CIE-LABlab(66.31, -8.62, 35.72)
CIE-LCHlch(66.31, 36.74, 103.57°)
OKLaboklab(70.65% -0.024 0.0864)
OKLCHoklch(70.65% 0.09 105.5)
XYZxyz(31.5358, 35.7211, 16.2977)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A460 #6064A8
analogous
#A88060 #A8A460 #88A860
triadic
#A8A460 #60A8A4 #A460A8
tetradic
#A8A460 #60A880 #6064A8 #A86088
square
#A8A460 #60A880 #6064A8 #A86088
split-complementary
#A8A460 #6088A8 #8060A8
monochromatic
#5C5932 #838048 #A8A460 #BEBB88 #D3D1AF

Accessibility & contrast

On white

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

On black

8.14
#A8A460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A460
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A460#FFFFFF#000000##000000
##A8A4601.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a460;
/* rgb */ color: rgb(168, 164, 96);
/* oklch */ color: oklch(70.7% 0.090 105.5);
Tailwind
colors: {
  custom: {
    50: '#c3be8e',
    500: '#a8a460',
    950: '#000000',
  },
}
SCSS
$custom: #a8a460;
$custom-light: #c3be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a460",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 96
  },
  "hsl": {
    "h": 56.667,
    "s": 29.268,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70653,
    "c": 0.0897,
    "h": 105.5
  },
  "luminance": 0.3572
}

Semantic roles & 50–950 ramp

primary
#A8A460
secondary
#A2A4C2
accent
#68C662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A460

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

Preview Lab → · Contrast checker → · Palette generator →

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