#A8A45A#A8A45A

#A8A45A is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.096 H 105.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A8A45A
RGBrgb(168, 164, 90)
HSLhsl(57, 31%, 51%)
HSVhsv(57, 46%, 66%)
CMYKcmyk(0%, 2.4%, 46.4%, 34.1%)
CIE-LABlab(66.22, -9.25, 38.71)
CIE-LCHlch(66.22, 39.80, 103.43°)
OKLaboklab(70.56% -0.0264 0.0927)
OKLCHoklch(70.56% 0.096 105.9)
XYZxyz(31.2701, 35.6148, 14.8980)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A45A #5A5EA8
analogous
#A87D5A #A8A45A #85A85A
triadic
#A8A45A #5AA8A4 #A45AA8
tetradic
#A8A45A #5AA87D #5A5EA8 #A85A85
square
#A8A45A #5AA87D #5A5EA8 #A85A85
split-complementary
#A8A45A #5A85A8 #7D5AA8
monochromatic
#59572F #817E44 #A8A45A #BDBA82 #D2D0AA

Accessibility & contrast

On white

2.59
#A8A45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A8A45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A45A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A45A#FFFFFF#000000##000000
##A8A45A1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F54
Deuteranopia (green-blind)
#B1A35D
Tritanopia (blue-blind)
#B29B92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a45a;
/* rgb */ color: rgb(168, 164, 90);
/* oklch */ color: oklch(70.6% 0.096 105.9);
Tailwind
colors: {
  custom: {
    50: '#c3be8a',
    500: '#a8a45a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a45a;
$custom-light: #c3be8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a45a",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 90
  },
  "hsl": {
    "h": 56.923,
    "s": 30.952,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.09637,
    "h": 105.9
  },
  "luminance": 0.35614
}

Semantic roles & 50–950 ramp

primary
#A8A45A
secondary
#9E9FC0
accent
#66C761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A45A

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

Preview Lab → · Contrast checker → · Palette generator →

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