#A8A52A#A8A52A

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

Color values

HEX#A8A52A
RGBrgb(168, 165, 42)
HSLhsl(59, 60%, 41%)
HSVhsv(59, 75%, 66%)
CMYKcmyk(0%, 1.8%, 75%, 34.1%)
CIE-LABlab(66.06, -13.19, 59.71)
CIE-LCHlch(66.06, 61.15, 102.46°)
OKLaboklab(70.29% -0.0427 0.1311)
OKLCHoklch(70.29% 0.138 108)
XYZxyz(30.0227, 35.4033, 7.4421)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A52A #2A2DA8
analogous
#A8662A #A8A52A #6CA82A
triadic
#A8A52A #2AA8A5 #A52AA8
tetradic
#A8A52A #2AA866 #2A2DA8 #A82A6C
square
#A8A52A #2AA866 #2A2DA8 #A82A6C
split-complementary
#A8A52A #2A6CA8 #662AA8
monochromatic
#464512 #77751E #A8A52A #CFCC40 #DBD971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A52A#FFFFFF#000000##000000
##A8A52A1.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)
#B39E0F
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a52a;
/* rgb */ color: rgb(168, 165, 42);
/* oklch */ color: oklch(70.3% 0.138 108.0);
Tailwind
colors: {
  custom: {
    50: '#c5bf6d',
    500: '#a8a52a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a52a;
$custom-light: #c5bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a52a",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 58.571,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.7029,
    "c": 0.13792,
    "h": 108
  },
  "luminance": 0.35402
}

Semantic roles & 50–950 ramp

primary
#A8A52A
secondary
#6B6DC3
accent
#48E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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