#A8A642#A8A642

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

Color values

HEX#A8A642
RGBrgb(168, 166, 66)
HSLhsl(59, 44%, 46%)
HSVhsv(59, 61%, 66%)
CMYKcmyk(0%, 1.2%, 60.7%, 34.1%)
CIE-LABlab(66.51, -12.34, 50.61)
CIE-LCHlch(66.51, 52.09, 103.71°)
OKLaboklab(70.71% -0.0378 0.1159)
OKLCHoklch(70.71% 0.122 108.1)
XYZxyz(30.7690, 35.9915, 10.4794)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A642 #4244A8
analogous
#A87342 #A8A642 #77A842
triadic
#A8A642 #42A8A6 #A642A8
tetradic
#A8A642 #42A873 #4244A8 #A84277
square
#A8A642 #42A873 #4244A8 #A84277
split-complementary
#A8A642 #4277A8 #7342A8
monochromatic
#504F1F #7C7B31 #A8A642 #C2C165 #D4D291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A642#FFFFFF#000000##000000
##A8A6421.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)
#B3A036
Deuteranopia (green-blind)
#B5A348
Tritanopia (blue-blind)
#B39C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a642;
/* rgb */ color: rgb(168, 166, 66);
/* oklch */ color: oklch(70.7% 0.122 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4c07b',
    500: '#a8a642',
    950: '#000000',
  },
}
SCSS
$custom: #a8a642;
$custom-light: #c4c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a642",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 58.824,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70706,
    "c": 0.12192,
    "h": 108.1
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#A8A642
secondary
#8788BF
accent
#57D354
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A642

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

Preview Lab → · Contrast checker → · Palette generator →

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