#A8A956#A8A956

#A8A956 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.6% C 0.106 H 109.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A8A956
RGBrgb(168, 169, 86)
HSLhsl(61, 33%, 50%)
HSVhsv(61, 49%, 66%)
CMYKcmyk(0.6%, 0%, 49.1%, 33.7%)
CIE-LABlab(67.56, -12.26, 42.33)
CIE-LCHlch(67.56, 44.07, 106.15°)
OKLaboklab(71.6% -0.0354 0.1004)
OKLCHoklch(71.6% 0.106 109.4)
XYZxyz(32.0168, 37.3734, 14.3295)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A956 #5756A9
analogous
#A98156 #A8A956 #7EA956
triadic
#A8A956 #56A8A9 #A956A8
tetradic
#A8A956 #56A981 #5756A9 #A9567E
square
#A8A956 #56A981 #5756A9 #A9567E
split-complementary
#A8A956 #567EA9 #8156A9
monochromatic
#57582D #808041 #A8A956 #BDBE7F #D2D2A7

Accessibility & contrast

On white

2.48
#A8A956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A8A956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A956
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A956#FFFFFF#000000##000000
##A8A9561.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A34F
Deuteranopia (green-blind)
#B5A65A
Tritanopia (blue-blind)
#B2A096
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a956;
/* rgb */ color: rgb(168, 169, 86);
/* oklch */ color: oklch(71.6% 0.106 109.4);
Tailwind
colors: {
  custom: {
    50: '#c3c288',
    500: '#a8a956',
    950: '#000000',
  },
}
SCSS
$custom: #a8a956;
$custom-light: #c3c288;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a956",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 86
  },
  "hsl": {
    "h": 60.723,
    "s": 32.549,
    "l": 50
  },
  "oklch": {
    "l": 0.71605,
    "c": 0.10641,
    "h": 109.4
  },
  "luminance": 0.37373
}

Semantic roles & 50–950 ramp

primary
#A8A956
secondary
#9B9BC0
accent
#5FC960
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A956

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

Preview Lab → · Contrast checker → · Palette generator →

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