#A9A342#A9A342

#A9A342 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.119 H 105.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A9A342
RGBrgb(169, 163, 66)
HSLhsl(57, 44%, 46%)
HSVhsv(57, 61%, 66%)
CMYKcmyk(0%, 3.6%, 60.9%, 33.7%)
CIE-LABlab(65.77, -10.34, 49.82)
CIE-LCHlch(65.77, 50.88, 101.73°)
OKLaboklab(70.13% -0.0322 0.1142)
OKLCHoklch(70.13% 0.119 105.7)
XYZxyz(30.4438, 35.0238, 10.3098)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A342 #4248A9
analogous
#A96F42 #A9A342 #7BA942
triadic
#A9A342 #42A9A3 #A342A9
tetradic
#A9A342 #42A96F #4248A9 #A9427B
square
#A9A342 #42A96F #4248A9 #A9427B
split-complementary
#A9A342 #427BA9 #6F42A9
monochromatic
#514E20 #7D7931 #A9A342 #C3BD65 #D4D091

Accessibility & contrast

On white

2.62
#A9A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A9A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A342
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A342#FFFFFF#000000##000000
##A9A3421.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#B5998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a342;
/* rgb */ color: rgb(169, 163, 66);
/* oklch */ color: oklch(70.1% 0.119 105.7);
Tailwind
colors: {
  custom: {
    50: '#c5be7a',
    500: '#a9a342',
    950: '#000000',
  },
}
SCSS
$custom: #a9a342;
$custom-light: #c5be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a342",
  "rgb": {
    "r": 169,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 56.505,
    "s": 43.83,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.11866,
    "h": 105.7
  },
  "luminance": 0.35023
}

Semantic roles & 50–950 ramp

primary
#A9A342
secondary
#878BC0
accent
#5CD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A9A342

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

Preview Lab → · Contrast checker → · Palette generator →

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