#A8A52C#A8A52C

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

Color values

HEX#A8A52C
RGBrgb(168, 165, 44)
HSLhsl(59, 58%, 42%)
HSVhsv(59, 74%, 66%)
CMYKcmyk(0%, 1.8%, 73.8%, 34.1%)
CIE-LABlab(66.07, -13.10, 59.03)
CIE-LCHlch(66.07, 60.47, 102.52°)
OKLaboklab(70.3% -0.0423 0.1301)
OKLCHoklch(70.3% 0.137 108)
XYZxyz(30.0594, 35.4179, 7.6353)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A52C #2C2FA8
analogous
#A8672C #A8A52C #6DA82C
triadic
#A8A52C #2CA8A5 #A52CA8
tetradic
#A8A52C #2CA867 #2C2FA8 #A82C6D
square
#A8A52C #2CA867 #2C2FA8 #A82C6D
split-complementary
#A8A52C #2C6DA8 #672CA8
monochromatic
#474613 #78751F #A8A52C #CECB43 #DBD874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A52C#FFFFFF#000000##000000
##A8A52C1.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)
#B39E14
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a52c;
/* rgb */ color: rgb(168, 165, 44);
/* oklch */ color: oklch(70.3% 0.137 108.0);
Tailwind
colors: {
  custom: {
    50: '#c5bf6e',
    500: '#a8a52c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a52c;
$custom-light: #c5bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a52c",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 58.548,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70303,
    "c": 0.13677,
    "h": 108
  },
  "luminance": 0.35417
}

Semantic roles & 50–950 ramp

primary
#A8A52C
secondary
#6E70C2
accent
#4AE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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