#A8A95A#A8A95A

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

Color values

HEX#A8A95A
RGBrgb(168, 169, 90)
HSLhsl(61, 31%, 51%)
HSVhsv(61, 47%, 66%)
CMYKcmyk(0.6%, 0%, 46.7%, 33.7%)
CIE-LABlab(67.61, -11.87, 40.39)
CIE-LCHlch(67.61, 42.10, 106.38°)
OKLaboklab(71.66% -0.0339 0.0964)
OKLCHoklch(71.66% 0.102 109.4)
XYZxyz(32.1825, 37.4397, 15.2021)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A95A #5B5AA9
analogous
#A9825A #A8A95A #80A95A
triadic
#A8A95A #5AA8A9 #A95AA8
tetradic
#A8A95A #5AA982 #5B5AA9 #A95A80
square
#A8A95A #5AA982 #5B5AA9 #A95A80
split-complementary
#A8A95A #5A80A9 #825AA9
monochromatic
#595A2F #818244 #A8A95A #BDBE82 #D2D3AA

Accessibility & contrast

On white

2.47
#A8A95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#A8A95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A95A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A95A#FFFFFF#000000##000000
##A8A95A1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A353
Deuteranopia (green-blind)
#B5A65E
Tritanopia (blue-blind)
#B2A097
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8a95a;
/* rgb */ color: rgb(168, 169, 90);
/* oklch */ color: oklch(71.7% 0.102 109.4);
Tailwind
colors: {
  custom: {
    50: '#c3c28a',
    500: '#a8a95a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a95a;
$custom-light: #c3c28a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a95a",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 90
  },
  "hsl": {
    "h": 60.759,
    "s": 31.474,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7166,
    "c": 0.1022,
    "h": 109.4
  },
  "luminance": 0.37439
}

Semantic roles & 50–950 ramp

primary
#A8A95A
secondary
#9E9EC1
accent
#60C861
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A95A

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

Preview Lab → · Contrast checker → · Palette generator →

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