#A8A45E#A8A45E

#A8A45E is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.092 H 105.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A45E
RGBrgb(168, 164, 94)
HSLhsl(57, 30%, 51%)
HSVhsv(57, 44%, 66%)
CMYKcmyk(0%, 2.4%, 44%, 34.1%)
CIE-LABlab(66.28, -8.84, 36.72)
CIE-LCHlch(66.28, 37.77, 103.53°)
OKLaboklab(70.62% -0.0248 0.0885)
OKLCHoklch(70.62% 0.092 105.7)
XYZxyz(31.4449, 35.6847, 15.8189)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A45E #5E62A8
analogous
#A87F5E #A8A45E #87A85E
triadic
#A8A45E #5EA8A4 #A45EA8
tetradic
#A8A45E #5EA87F #5E62A8 #A85E87
square
#A8A45E #5EA87F #5E62A8 #A85E87
split-complementary
#A8A45E #5E87A8 #7F5EA8
monochromatic
#5B5831 #827F46 #A8A45E #BDBA86 #D3D1AD

Accessibility & contrast

On white

2.58
#A8A45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A8A45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A45E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A45E#FFFFFF#000000##000000
##A8A45E1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F58
Deuteranopia (green-blind)
#B1A361
Tritanopia (blue-blind)
#B29C93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a45e;
/* rgb */ color: rgb(168, 164, 94);
/* oklch */ color: oklch(70.6% 0.092 105.7);
Tailwind
colors: {
  custom: {
    50: '#c3be8d',
    500: '#a8a45e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a45e;
$custom-light: #c3be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a45e",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 56.757,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70622,
    "c": 0.09195,
    "h": 105.7
  },
  "luminance": 0.35684
}

Semantic roles & 50–950 ramp

primary
#A8A45E
secondary
#A1A2C1
accent
#67C662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A45E

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

Preview Lab → · Contrast checker → · Palette generator →

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