#A8A45F#A8A45F

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

Color values

HEX#A8A45F
RGBrgb(168, 164, 95)
HSLhsl(57, 30%, 52%)
HSVhsv(57, 43%, 66%)
CMYKcmyk(0%, 2.4%, 43.5%, 34.1%)
CIE-LABlab(66.29, -8.73, 36.22)
CIE-LCHlch(66.29, 37.26, 103.55°)
OKLaboklab(70.64% -0.0244 0.0875)
OKLCHoklch(70.64% 0.091 105.6)
XYZxyz(31.4901, 35.7028, 16.0568)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A45F #5F63A8
analogous
#A8805F #A8A45F #88A85F
triadic
#A8A45F #5FA8A4 #A45FA8
tetradic
#A8A45F #5FA880 #5F63A8 #A85F88
square
#A8A45F #5FA880 #5F63A8 #A85F88
split-complementary
#A8A45F #5F88A8 #805FA8
monochromatic
#5B5932 #837F47 #A8A45F #BEBB87 #D3D1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A45F#FFFFFF#000000##000000
##A8A45F1.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)
#AF9F59
Deuteranopia (green-blind)
#B1A362
Tritanopia (blue-blind)
#B29C93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a45f;
/* rgb */ color: rgb(168, 164, 95);
/* oklch */ color: oklch(70.6% 0.091 105.6);
Tailwind
colors: {
  custom: {
    50: '#c3be8d',
    500: '#a8a45f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a45f;
$custom-light: #c3be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a45f",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 56.712,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.09082,
    "h": 105.6
  },
  "luminance": 0.35702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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