#A8A641#A8A641

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

Color values

HEX#A8A641
RGBrgb(168, 166, 65)
HSLhsl(59, 44%, 46%)
HSVhsv(59, 61%, 66%)
CMYKcmyk(0%, 1.2%, 61.3%, 34.1%)
CIE-LABlab(66.50, -12.41, 51.05)
CIE-LCHlch(66.50, 52.53, 103.67°)
OKLaboklab(70.7% -0.0381 0.1167)
OKLCHoklch(70.7% 0.123 108.1)
XYZxyz(30.7398, 35.9798, 10.3255)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A641 #4143A8
analogous
#A87241 #A8A641 #76A841
triadic
#A8A641 #41A8A6 #A641A8
tetradic
#A8A641 #41A872 #4143A8 #A84176
square
#A8A641 #41A872 #4143A8 #A84176
split-complementary
#A8A641 #4176A8 #7241A8
monochromatic
#504F1F #7C7A30 #A8A641 #C3C163 #D4D390

Accessibility & contrast

On white

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

On black

8.20
#A8A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A641
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A641#FFFFFF#000000##000000
##A8A6411.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A035
Deuteranopia (green-blind)
#B5A347
Tritanopia (blue-blind)
#B39C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a641;
/* rgb */ color: rgb(168, 166, 65);
/* oklch */ color: oklch(70.7% 0.123 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4c07a',
    500: '#a8a641',
    950: '#000000',
  },
}
SCSS
$custom: #a8a641;
$custom-light: #c4c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a641",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 58.835,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70696,
    "c": 0.12276,
    "h": 108.1
  },
  "luminance": 0.35979
}

Semantic roles & 50–950 ramp

primary
#A8A641
secondary
#8687BF
accent
#56D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A641

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

Preview Lab → · Contrast checker → · Palette generator →

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