#A8A156#A8A156

#A8A156 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.097 H 103.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A8A156
RGBrgb(168, 161, 86)
HSLhsl(55, 32%, 50%)
HSVhsv(55, 49%, 66%)
CMYKcmyk(0%, 4.2%, 48.8%, 34.1%)
CIE-LABlab(65.35, -8.05, 39.67)
CIE-LCHlch(65.35, 40.48, 101.47°)
OKLaboklab(69.85% -0.0233 0.0945)
OKLCHoklch(69.85% 0.097 103.9)
XYZxyz(30.5738, 34.4874, 13.8485)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A156 #565DA8
analogous
#A87856 #A8A156 #86A856
triadic
#A8A156 #56A8A1 #A156A8
tetradic
#A8A156 #56A878 #565DA8 #A85686
square
#A8A156 #56A878 #565DA8 #A85686
split-complementary
#A8A156 #5686A8 #7856A8
monochromatic
#57532D #807A41 #A8A156 #BDB87E #D2CEA7

Accessibility & contrast

On white

2.66
#A8A156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A8A156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A156
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A156#FFFFFF#000000##000000
##A8A1561.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C50
Deuteranopia (green-blind)
#AFA059
Tritanopia (blue-blind)
#B2988F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a156;
/* rgb */ color: rgb(168, 161, 86);
/* oklch */ color: oklch(69.8% 0.097 103.9);
Tailwind
colors: {
  custom: {
    50: '#c3bc87',
    500: '#a8a156',
    950: '#000000',
  },
}
SCSS
$custom: #a8a156;
$custom-light: #c3bc87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a156",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 86
  },
  "hsl": {
    "h": 54.878,
    "s": 32.283,
    "l": 49.804
  },
  "oklch": {
    "l": 0.69848,
    "c": 0.09736,
    "h": 103.9
  },
  "luminance": 0.34486
}

Semantic roles & 50–950 ramp

primary
#A8A156
secondary
#9A9EBF
accent
#68C85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A156

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

Preview Lab → · Contrast checker → · Palette generator →

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