#A8A042#A8A042

#A8A042 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.116 H 104.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A8A042
RGBrgb(168, 160, 66)
HSLhsl(55, 44%, 46%)
HSVhsv(55, 61%, 66%)
CMYKcmyk(0%, 4.8%, 60.7%, 34.1%)
CIE-LABlab(64.85, -9.19, 48.79)
CIE-LCHlch(64.85, 49.65, 100.67°)
OKLaboklab(69.38% -0.0289 0.1121)
OKLCHoklch(69.38% 0.116 104.4)
XYZxyz(29.7037, 33.8608, 10.1243)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A042 #424AA8
analogous
#A86D42 #A8A042 #7DA842
triadic
#A8A042 #42A8A0 #A042A8
tetradic
#A8A042 #42A86D #424AA8 #A8427D
square
#A8A042 #42A86D #424AA8 #A8427D
split-complementary
#A8A042 #427DA8 #6D42A8
monochromatic
#504C1F #7C7631 #A8A042 #C2BB65 #D4CE91

Accessibility & contrast

On white

2.70
#A8A042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A8A042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A042
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A042#FFFFFF#000000##000000
##A8A0421.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B38
Deuteranopia (green-blind)
#B09F47
Tritanopia (blue-blind)
#B4968C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a042;
/* rgb */ color: rgb(168, 160, 66);
/* oklch */ color: oklch(69.4% 0.116 104.4);
Tailwind
colors: {
  custom: {
    50: '#c4bb7a',
    500: '#a8a042',
    950: '#000000',
  },
}
SCSS
$custom: #a8a042;
$custom-light: #c4bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a042",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 55.294,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.11571,
    "h": 104.4
  },
  "luminance": 0.3386
}

Semantic roles & 50–950 ramp

primary
#A8A042
secondary
#878BBF
accent
#5ED354
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A8A042

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

Preview Lab → · Contrast checker → · Palette generator →

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