#A8A85F#A8A85F

#A8A85F is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.096 H 108.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A8A85F
RGBrgb(168, 168, 95)
HSLhsl(60, 30%, 52%)
HSVhsv(60, 43%, 66%)
CMYKcmyk(0%, 0%, 43.5%, 34.1%)
CIE-LABlab(67.39, -10.84, 37.59)
CIE-LCHlch(67.39, 39.12, 106.08°)
OKLaboklab(71.51% -0.0305 0.0906)
OKLCHoklch(71.51% 0.096 108.6)
XYZxyz(32.2172, 37.1570, 16.2991)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A85F #5F5FA8
analogous
#A8845F #A8A85F #84A85F
triadic
#A8A85F #5FA8A8 #A85FA8
tetradic
#A8A85F #5FA884 #5F5FA8 #A85F84
square
#A8A85F #5FA884 #5F5FA8 #A85F84
split-complementary
#A8A85F #5F84A8 #845FA8
monochromatic
#5B5B32 #838347 #A8A85F #BEBE87 #D3D3AE

Accessibility & contrast

On white

2.49
#A8A85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A8A85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A85F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A85F#FFFFFF#000000##000000
##A8A85F1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A359
Deuteranopia (green-blind)
#B4A562
Tritanopia (blue-blind)
#B1A097
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a85f;
/* rgb */ color: rgb(168, 168, 95);
/* oklch */ color: oklch(71.5% 0.096 108.6);
Tailwind
colors: {
  custom: {
    50: '#c3c18e',
    500: '#a8a85f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a85f;
$custom-light: #c3c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a85f",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71514,
    "c": 0.09555,
    "h": 108.6
  },
  "luminance": 0.37156
}

Semantic roles & 50–950 ramp

primary
#A8A85F
secondary
#A1A1C1
accent
#62C662
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A85F

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

Preview Lab → · Contrast checker → · Palette generator →

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