#A8A63F#A8A63F

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

Color values

HEX#A8A63F
RGBrgb(168, 166, 63)
HSLhsl(59, 45%, 45%)
HSVhsv(59, 63%, 66%)
CMYKcmyk(0%, 1.2%, 62.5%, 34.1%)
CIE-LABlab(66.49, -12.55, 51.91)
CIE-LCHlch(66.49, 53.40, 103.59°)
OKLaboklab(70.68% -0.0387 0.1182)
OKLCHoklch(70.68% 0.124 108.1)
XYZxyz(30.6829, 35.9571, 10.0258)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A63F #3F41A8
analogous
#A8713F #A8A63F #75A83F
triadic
#A8A63F #3FA8A6 #A63FA8
tetradic
#A8A63F #3FA871 #3F41A8 #A83F75
square
#A8A63F #3FA871 #3F41A8 #A83F75
split-complementary
#A8A63F #3F75A8 #713FA8
monochromatic
#4F4E1E #7B7A2E #A8A63F #C4C261 #D4D38D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A63F#FFFFFF#000000##000000
##A8A63F1.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)
#B3A032
Deuteranopia (green-blind)
#B5A345
Tritanopia (blue-blind)
#B39C90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a63f;
/* rgb */ color: rgb(168, 166, 63);
/* oklch */ color: oklch(70.7% 0.124 108.1);
Tailwind
colors: {
  custom: {
    50: '#c5c079',
    500: '#a8a63f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a63f;
$custom-light: #c5c079;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a63f",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 58.857,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70677,
    "c": 0.12442,
    "h": 108.1
  },
  "luminance": 0.35956
}

Semantic roles & 50–950 ramp

primary
#A8A63F
secondary
#8485BF
accent
#55D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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