#A8A52D#A8A52D

#A8A52D is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.136 H 108.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A8A52D
RGBrgb(168, 165, 45)
HSLhsl(59, 58%, 42%)
HSVhsv(59, 73%, 66%)
CMYKcmyk(0%, 1.8%, 73.2%, 34.1%)
CIE-LABlab(66.08, -13.06, 58.68)
CIE-LCHlch(66.08, 60.12, 102.55°)
OKLaboklab(70.31% -0.042 0.1295)
OKLCHoklch(70.31% 0.136 108)
XYZxyz(30.0784, 35.4255, 7.7355)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A52D #2D30A8
analogous
#A8682D #A8A52D #6DA82D
triadic
#A8A52D #2DA8A5 #A52DA8
tetradic
#A8A52D #2DA868 #2D30A8 #A82D6D
square
#A8A52D #2DA868 #2D30A8 #A82D6D
split-complementary
#A8A52D #2D6DA8 #682DA8
monochromatic
#474613 #787620 #A8A52D #CDCA45 #DAD875

Accessibility & contrast

On white

2.60
#A8A52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A8A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A52D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A52D#FFFFFF#000000##000000
##A8A52D1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E16
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a52d;
/* rgb */ color: rgb(168, 165, 45);
/* oklch */ color: oklch(70.3% 0.136 108.0);
Tailwind
colors: {
  custom: {
    50: '#c5bf6f',
    500: '#a8a52d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a52d;
$custom-light: #c5bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a52d",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 58.537,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.13617,
    "h": 108
  },
  "luminance": 0.35425
}

Semantic roles & 50–950 ramp

primary
#A8A52D
secondary
#6F71C2
accent
#4BE147
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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