#A8A52E#A8A52E

#A8A52E 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.09:1 contrast (WCAG AA passes).

Color values

HEX#A8A52E
RGBrgb(168, 165, 46)
HSLhsl(59, 57%, 42%)
HSVhsv(59, 73%, 66%)
CMYKcmyk(0%, 1.8%, 72.6%, 34.1%)
CIE-LABlab(66.08, -13.01, 58.33)
CIE-LCHlch(66.08, 59.76, 102.57°)
OKLaboklab(70.32% -0.0418 0.129)
OKLCHoklch(70.32% 0.136 108)
XYZxyz(30.0979, 35.4333, 7.8381)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A52E #2E31A8
analogous
#A8682E #A8A52E #6EA82E
triadic
#A8A52E #2EA8A5 #A52EA8
tetradic
#A8A52E #2EA868 #2E31A8 #A82E6E
square
#A8A52E #2EA868 #2E31A8 #A82E6E
split-complementary
#A8A52E #2E6EA8 #682EA8
monochromatic
#484714 #787621 #A8A52E #CDC947 #DAD777

Accessibility & contrast

On white

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

On black

8.09
#A8A52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A52E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A52E#FFFFFF#000000##000000
##A8A52E1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a52e;
/* rgb */ color: rgb(168, 165, 46);
/* oklch */ color: oklch(70.3% 0.136 108.0);
Tailwind
colors: {
  custom: {
    50: '#c5bf6f',
    500: '#a8a52e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a52e;
$custom-light: #c5bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a52e",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 58.525,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70316,
    "c": 0.13556,
    "h": 108
  },
  "luminance": 0.35432
}

Semantic roles & 50–950 ramp

primary
#A8A52E
secondary
#7072C2
accent
#4BE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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