#A8A545#A8A545

#A8A545 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.118 H 107.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A8A545
RGBrgb(168, 165, 69)
HSLhsl(58, 42%, 46%)
HSVhsv(58, 59%, 66%)
CMYKcmyk(0%, 1.8%, 58.9%, 34.1%)
CIE-LABlab(66.26, -11.60, 48.98)
CIE-LCHlch(66.26, 50.33, 103.33°)
OKLaboklab(70.52% -0.0354 0.1128)
OKLCHoklch(70.52% 0.118 107.4)
XYZxyz(30.6787, 35.6657, 10.8972)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A545 #4548A8
analogous
#A87445 #A8A545 #7AA845
triadic
#A8A545 #45A8A5 #A545A8
tetradic
#A8A545 #45A874 #4548A8 #A8457A
square
#A8A545 #45A874 #4548A8 #A8457A
split-complementary
#A8A545 #457AA8 #7445A8
monochromatic
#515021 #7D7A33 #A8A545 #C1BF69 #D3D194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A545#FFFFFF#000000##000000
##A8A5451.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)
#B29F3A
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#B39B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a545;
/* rgb */ color: rgb(168, 165, 69);
/* oklch */ color: oklch(70.5% 0.118 107.4);
Tailwind
colors: {
  custom: {
    50: '#c4bf7c',
    500: '#a8a545',
    950: '#000000',
  },
}
SCSS
$custom: #a8a545;
$custom-light: #c4bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a545",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 58.182,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70516,
    "c": 0.11826,
    "h": 107.4
  },
  "luminance": 0.35665
}

Semantic roles & 50–950 ramp

primary
#A8A545
secondary
#8A8CBF
accent
#5AD256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A545

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

Preview Lab → · Contrast checker → · Palette generator →

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