#A8A442#A8A442

#A8A442 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.120 H 106.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A8A442
RGBrgb(168, 164, 66)
HSLhsl(58, 44%, 46%)
HSVhsv(58, 61%, 66%)
CMYKcmyk(0%, 2.4%, 60.7%, 34.1%)
CIE-LABlab(65.96, -11.30, 50.00)
CIE-LCHlch(65.96, 51.27, 102.73°)
OKLaboklab(70.26% -0.0348 0.1146)
OKLCHoklch(70.26% 0.12 106.9)
XYZxyz(30.4083, 35.2700, 10.3592)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A442 #4246A8
analogous
#A87142 #A8A442 #79A842
triadic
#A8A442 #42A8A4 #A442A8
tetradic
#A8A442 #42A871 #4246A8 #A84279
square
#A8A442 #42A871 #4246A8 #A84279
split-complementary
#A8A442 #4279A8 #7142A8
monochromatic
#504E1F #7C7931 #A8A442 #C2BF65 #D4D191

Accessibility & contrast

On white

2.61
#A8A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A8A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A442
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A442#FFFFFF#000000##000000
##A8A4421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B3A248
Tritanopia (blue-blind)
#B39A8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a442;
/* rgb */ color: rgb(168, 164, 66);
/* oklch */ color: oklch(70.3% 0.120 106.9);
Tailwind
colors: {
  custom: {
    50: '#c4be7b',
    500: '#a8a442',
    950: '#000000',
  },
}
SCSS
$custom: #a8a442;
$custom-light: #c4be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a442",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 57.647,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.1198,
    "h": 106.9
  },
  "luminance": 0.35269
}

Semantic roles & 50–950 ramp

primary
#A8A442
secondary
#8789BF
accent
#59D354
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A442

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

Preview Lab → · Contrast checker → · Palette generator →

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