#A8A63E#A8A63E

#A8A63E is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.125 H 108.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A8A63E
RGBrgb(168, 166, 62)
HSLhsl(59, 46%, 45%)
HSVhsv(59, 63%, 66%)
CMYKcmyk(0%, 1.2%, 63.1%, 34.1%)
CIE-LABlab(66.48, -12.62, 52.33)
CIE-LCHlch(66.48, 53.83, 103.56°)
OKLaboklab(70.67% -0.039 0.119)
OKLCHoklch(70.67% 0.125 108.2)
XYZxyz(30.6552, 35.9460, 9.8800)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A63E #3E40A8
analogous
#A8713E #A8A63E #75A83E
triadic
#A8A63E #3EA8A6 #A63EA8
tetradic
#A8A63E #3EA871 #3E40A8 #A83E75
square
#A8A63E #3EA871 #3E40A8 #A83E75
split-complementary
#A8A63E #3E75A8 #713EA8
monochromatic
#4F4E1D #7B7A2E #A8A63E #C4C25F #D5D38C

Accessibility & contrast

On white

2.56
#A8A63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A8A63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A63E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A63E#FFFFFF#000000##000000
##A8A63E1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a63e;
/* rgb */ color: rgb(168, 166, 62);
/* oklch */ color: oklch(70.7% 0.125 108.2);
Tailwind
colors: {
  custom: {
    50: '#c5c078',
    500: '#a8a63e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a63e;
$custom-light: #c5c078;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a63e",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 58.868,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70667,
    "c": 0.12522,
    "h": 108.2
  },
  "luminance": 0.35945
}

Semantic roles & 50–950 ramp

primary
#A8A63E
secondary
#8384BF
accent
#55D652
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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