#A9942A#A9942A

#A9942A is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.7% C 0.123 H 97.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A9942A
RGBrgb(169, 148, 42)
HSLhsl(50, 60%, 41%)
HSVhsv(50, 75%, 66%)
CMYKcmyk(0%, 12.4%, 75.1%, 33.7%)
CIE-LABlab(61.47, -3.72, 55.41)
CIE-LCHlch(61.47, 55.53, 93.85°)
OKLaboklab(66.66% -0.0161 0.122)
OKLCHoklch(66.66% 0.123 97.5)
XYZxyz(27.3714, 29.7834, 6.4971)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9942A #2A3FA9
analogous
#A9552A #A9942A #7FA92A
triadic
#A9942A #2AA994 #942AA9
tetradic
#A9942A #2AA955 #2A3FA9 #A92A7F
square
#A9942A #2AA955 #2A3FA9 #A92A7F
split-complementary
#A9942A #2A7FA9 #552AA9
monochromatic
#473E12 #78691E #A9942A #D0B841 #DCCA72

Accessibility & contrast

On white

3.02
#A9942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A9942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A9942A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9942A#FFFFFF#000000##000000
##A9942A1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#B7887F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a9942a;
/* rgb */ color: rgb(169, 148, 42);
/* oklch */ color: oklch(66.7% 0.123 97.5);
Tailwind
colors: {
  custom: {
    50: '#c6b36b',
    500: '#a9942a',
    950: '#000000',
  },
}
SCSS
$custom: #a9942a;
$custom-light: #c6b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a9942a",
  "rgb": {
    "r": 169,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 50.079,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.12302,
    "h": 97.5
  },
  "luminance": 0.29782
}

Semantic roles & 50–950 ramp

primary
#A9942A
secondary
#6C7AC3
accent
#5FE344
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A9942A

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

Preview Lab → · Contrast checker → · Palette generator →

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