#A8A63D#A8A63D

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

Color values

HEX#A8A63D
RGBrgb(168, 166, 61)
HSLhsl(59, 47%, 45%)
HSVhsv(59, 64%, 66%)
CMYKcmyk(0%, 1.2%, 63.7%, 34.1%)
CIE-LABlab(66.47, -12.68, 52.75)
CIE-LCHlch(66.47, 54.26, 103.52°)
OKLaboklab(70.66% -0.0393 0.1197)
OKLCHoklch(70.66% 0.126 108.2)
XYZxyz(30.6280, 35.9351, 9.7368)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A63D #3D3FA8
analogous
#A8713D #A8A63D #74A83D
triadic
#A8A63D #3DA8A6 #A63DA8
tetradic
#A8A63D #3DA871 #3D3FA8 #A83D74
square
#A8A63D #3DA871 #3D3FA8 #A83D74
split-complementary
#A8A63D #3D74A8 #713DA8
monochromatic
#4E4D1C #7B7A2D #A8A63D #C4C35E #D5D38B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A63D#FFFFFF#000000##000000
##A8A63D1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a63d;
/* rgb */ color: rgb(168, 166, 61);
/* oklch */ color: oklch(70.7% 0.126 108.2);
Tailwind
colors: {
  custom: {
    50: '#c5c078',
    500: '#a8a63d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a63d;
$custom-light: #c5c078;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a63d",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 58.879,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.12601,
    "h": 108.2
  },
  "luminance": 0.35934
}

Semantic roles & 50–950 ramp

primary
#A8A63D
secondary
#8183BF
accent
#54D651
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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