#A8A652#A8A652

#A8A652 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.9% C 0.107 H 107.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A8A652
RGBrgb(168, 166, 82)
HSLhsl(59, 34%, 49%)
HSVhsv(59, 51%, 66%)
CMYKcmyk(0%, 1.2%, 51.2%, 34.1%)
CIE-LABlab(66.68, -11.06, 43.26)
CIE-LCHlch(66.68, 44.65, 104.34°)
OKLaboklab(70.89% -0.0324 0.102)
OKLCHoklch(70.89% 0.107 107.6)
XYZxyz(31.3084, 36.2073, 13.3205)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A652 #5254A8
analogous
#A87B52 #A8A652 #7FA852
triadic
#A8A652 #52A8A6 #A652A8
tetradic
#A8A652 #52A87B #5254A8 #A8527F
square
#A8A652 #52A87B #5254A8 #A8527F
split-complementary
#A8A652 #527FA8 #7B52A8
monochromatic
#56552A #7F7D3E #A8A652 #BEBC79 #D2D1A3

Accessibility & contrast

On white

2.55
#A8A652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A8A652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A652
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A652#FFFFFF#000000##000000
##A8A6521.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04A
Deuteranopia (green-blind)
#B3A456
Tritanopia (blue-blind)
#B29D93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a652;
/* rgb */ color: rgb(168, 166, 82);
/* oklch */ color: oklch(70.9% 0.107 107.6);
Tailwind
colors: {
  custom: {
    50: '#c4c085',
    500: '#a8a652',
    950: '#000000',
  },
}
SCSS
$custom: #a8a652;
$custom-light: #c4c085;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a652",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 58.605,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7089,
    "c": 0.10704,
    "h": 107.6
  },
  "luminance": 0.36206
}

Semantic roles & 50–950 ramp

primary
#A8A652
secondary
#9798BF
accent
#60CA5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A652

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

Preview Lab → · Contrast checker → · Palette generator →

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