#A8A75C#A8A75C

#A8A75C is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.098 H 108.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A8A75C
RGBrgb(168, 167, 92)
HSLhsl(59, 30%, 51%)
HSVhsv(59, 45%, 66%)
CMYKcmyk(0%, 0.6%, 45.2%, 34.1%)
CIE-LABlab(67.08, -10.63, 38.73)
CIE-LCHlch(67.08, 40.17, 105.34°)
OKLaboklab(71.25% -0.0301 0.0929)
OKLCHoklch(71.25% 0.098 108)
XYZxyz(31.8995, 36.7357, 15.5334)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A75C #5C5DA8
analogous
#A8815C #A8A75C #83A85C
triadic
#A8A75C #5CA8A7 #A75CA8
tetradic
#A8A75C #5CA881 #5C5DA8 #A85C83
square
#A8A75C #5CA881 #5C5DA8 #A85C83
split-complementary
#A8A75C #5C83A8 #815CA8
monochromatic
#5A5930 #828145 #A8A75C #BDBD84 #D3D2AC

Accessibility & contrast

On white

2.52
#A8A75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A8A75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A75C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A75C#FFFFFF#000000##000000
##A8A75C1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A256
Deuteranopia (green-blind)
#B3A55F
Tritanopia (blue-blind)
#B29F95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a75c;
/* rgb */ color: rgb(168, 167, 92);
/* oklch */ color: oklch(71.2% 0.098 108.0);
Tailwind
colors: {
  custom: {
    50: '#c3c18c',
    500: '#a8a75c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a75c;
$custom-light: #c3c18c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a75c",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 92
  },
  "hsl": {
    "h": 59.211,
    "s": 30.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71249,
    "c": 0.09766,
    "h": 108
  },
  "luminance": 0.36735
}

Semantic roles & 50–950 ramp

primary
#A8A75C
secondary
#9FA0C1
accent
#63C761
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A75C

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

Preview Lab → · Contrast checker → · Palette generator →

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