#A8A63A#A8A63A

#A8A63A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.128 H 108.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A8A63A
RGBrgb(168, 166, 58)
HSLhsl(59, 49%, 44%)
HSVhsv(59, 65%, 66%)
CMYKcmyk(0%, 1.2%, 65.5%, 34.1%)
CIE-LABlab(66.45, -12.87, 54.00)
CIE-LCHlch(66.45, 55.51, 103.41°)
OKLaboklab(70.63% -0.0402 0.1219)
OKLCHoklch(70.63% 0.128 108.3)
XYZxyz(30.5494, 35.9037, 9.3230)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A63A #3A3CA8
analogous
#A86F3A #A8A63A #73A83A
triadic
#A8A63A #3AA8A6 #A63AA8
tetradic
#A8A63A #3AA86F #3A3CA8 #A83A73
square
#A8A63A #3AA86F #3A3CA8 #A83A73
split-complementary
#A8A63A #3A73A8 #6F3AA8
monochromatic
#4D4C1B #7B792A #A8A63A #C6C459 #D6D487

Accessibility & contrast

On white

2.57
#A8A63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A8A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A63A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A63A#FFFFFF#000000##000000
##A8A63A1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2B
Deuteranopia (green-blind)
#B5A341
Tritanopia (blue-blind)
#B49C90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a63a;
/* rgb */ color: rgb(168, 166, 58);
/* oklch */ color: oklch(70.6% 0.128 108.3);
Tailwind
colors: {
  custom: {
    50: '#c5c076',
    500: '#a8a63a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a63a;
$custom-light: #c5c076;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a63a",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 58.909,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70631,
    "c": 0.12834,
    "h": 108.3
  },
  "luminance": 0.35903
}

Semantic roles & 50–950 ramp

primary
#A8A63A
secondary
#7E7FC0
accent
#52D850
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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