#A8A45C#A8A45C

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

Color values

HEX#A8A45C
RGBrgb(168, 164, 92)
HSLhsl(57, 30%, 51%)
HSVhsv(57, 45%, 66%)
CMYKcmyk(0%, 2.4%, 45.2%, 34.1%)
CIE-LABlab(66.25, -9.04, 37.72)
CIE-LCHlch(66.25, 38.78, 103.48°)
OKLaboklab(70.59% -0.0256 0.0906)
OKLCHoklch(70.59% 0.094 105.8)
XYZxyz(31.3563, 35.6493, 15.3524)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A45C #5C60A8
analogous
#A87E5C #A8A45C #86A85C
triadic
#A8A45C #5CA8A4 #A45CA8
tetradic
#A8A45C #5CA87E #5C60A8 #A85C86
square
#A8A45C #5CA87E #5C60A8 #A85C86
split-complementary
#A8A45C #5C86A8 #7E5CA8
monochromatic
#5A5830 #827E45 #A8A45C #BDBA84 #D3D1AC

Accessibility & contrast

On white

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

On black

8.13
#A8A45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A45C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A45C#FFFFFF#000000##000000
##A8A45C1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a45c;
/* rgb */ color: rgb(168, 164, 92);
/* oklch */ color: oklch(70.6% 0.094 105.8);
Tailwind
colors: {
  custom: {
    50: '#c3be8b',
    500: '#a8a45c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a45c;
$custom-light: #c3be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a45c",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 56.842,
    "s": 30.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.09417,
    "h": 105.8
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#A8A45C
secondary
#9FA1C1
accent
#67C761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A45C

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

Preview Lab → · Contrast checker → · Palette generator →

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