#A8A663#A8A663

#A8A663 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.089 H 107.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A8A663
RGBrgb(168, 166, 99)
HSLhsl(58, 28%, 52%)
HSVhsv(58, 41%, 66%)
CMYKcmyk(0%, 1.2%, 41.1%, 34.1%)
CIE-LABlab(66.90, -9.35, 34.90)
CIE-LCHlch(66.90, 36.13, 105.00°)
OKLaboklab(71.14% -0.0258 0.0848)
OKLCHoklch(71.14% 0.089 107)
XYZxyz(32.0373, 36.4988, 17.1593)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A663 #6365A8
analogous
#A88463 #A8A663 #87A863
triadic
#A8A663 #63A8A6 #A663A8
tetradic
#A8A663 #63A884 #6365A8 #A86387
square
#A8A663 #63A884 #6365A8 #A86387
split-complementary
#A8A663 #6387A8 #8463A8
monochromatic
#5D5C34 #84824A #A8A663 #BEBC8A #D4D3B2

Accessibility & contrast

On white

2.53
#A8A663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A8A663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A663
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A663#FFFFFF#000000##000000
##A8A6631.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15E
Deuteranopia (green-blind)
#B2A466
Tritanopia (blue-blind)
#B19E96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a663;
/* rgb */ color: rgb(168, 166, 99);
/* oklch */ color: oklch(71.1% 0.089 107.0);
Tailwind
colors: {
  custom: {
    50: '#c3c090',
    500: '#a8a663',
    950: '#000000',
  },
}
SCSS
$custom: #a8a663;
$custom-light: #c3c090;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a663",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 99
  },
  "hsl": {
    "h": 58.261,
    "s": 28.395,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.0886,
    "h": 107
  },
  "luminance": 0.36498
}

Semantic roles & 50–950 ramp

primary
#A8A663
secondary
#A4A5C2
accent
#66C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #A8A663

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

Preview Lab → · Contrast checker → · Palette generator →

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