#A8A952#A8A952

#A8A952 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.110 H 109.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A8A952
RGBrgb(168, 169, 82)
HSLhsl(61, 35%, 49%)
HSVhsv(61, 51%, 66%)
CMYKcmyk(0.6%, 0%, 51.5%, 33.7%)
CIE-LABlab(67.51, -12.63, 44.24)
CIE-LCHlch(67.51, 46.01, 105.93°)
OKLaboklab(71.55% -0.0369 0.1041)
OKLCHoklch(71.55% 0.11 109.5)
XYZxyz(31.8601, 37.3107, 13.5044)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A952 #5352A9
analogous
#A97F52 #A8A952 #7DA952
triadic
#A8A952 #52A8A9 #A952A8
tetradic
#A8A952 #52A97F #5352A9 #A9527D
square
#A8A952 #52A97F #5352A9 #A9527D
split-complementary
#A8A952 #527DA9 #7F52A9
monochromatic
#56572A #7F803E #A8A952 #BEBE7A #D2D2A3

Accessibility & contrast

On white

2.48
#A8A952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A8A952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A952
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A952#FFFFFF#000000##000000
##A8A9521.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34A
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#B2A095
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a952;
/* rgb */ color: rgb(168, 169, 82);
/* oklch */ color: oklch(71.6% 0.110 109.5);
Tailwind
colors: {
  custom: {
    50: '#c4c285',
    500: '#a8a952',
    950: '#000000',
  },
}
SCSS
$custom: #a8a952;
$custom-light: #c4c285;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a952",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 60.69,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71552,
    "c": 0.11047,
    "h": 109.5
  },
  "luminance": 0.3731
}

Semantic roles & 50–950 ramp

primary
#A8A952
secondary
#9897C0
accent
#5DCB5E
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A952

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

Preview Lab → · Contrast checker → · Palette generator →

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