#A8A61F#A8A61F

#A8A61F is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.144 H 108.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A61F
RGBrgb(168, 166, 31)
HSLhsl(59, 69%, 39%)
HSVhsv(59, 82%, 66%)
CMYKcmyk(0%, 1.2%, 81.5%, 34.1%)
CIE-LABlab(66.29, -14.13, 63.29)
CIE-LCHlch(66.29, 64.85, 102.59°)
OKLaboklab(70.45% -0.0462 0.1367)
OKLCHoklch(70.45% 0.144 108.7)
XYZxyz(30.0332, 35.6972, 6.6043)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A61F #1F21A8
analogous
#A8621F #A8A61F #66A81F
triadic
#A8A61F #1FA8A6 #A61FA8
tetradic
#A8A61F #1FA862 #1F21A8 #A81F66
square
#A8A61F #1FA862 #1F21A8 #A81F66
split-complementary
#A8A61F #1F66A8 #621FA8
monochromatic
#41400C #747315 #A8A61F #D8D62C #E2E060

Accessibility & contrast

On white

2.58
#A8A61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A8A61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A61F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A61F#FFFFFF#000000##000000
##A8A61F1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a61f;
/* rgb */ color: rgb(168, 166, 31);
/* oklch */ color: oklch(70.5% 0.144 108.7);
Tailwind
colors: {
  custom: {
    50: '#c6c069',
    500: '#a8a61f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a61f;
$custom-light: #c6c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a61f",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 59.124,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70454,
    "c": 0.14435,
    "h": 108.7
  },
  "luminance": 0.35696
}

Semantic roles & 50–950 ramp

primary
#A8A61F
secondary
#5D5EC6
accent
#3FEC3C
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A61F

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

Preview Lab → · Contrast checker → · Palette generator →

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