#A9942D#A9942D

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

Color values

HEX#A9942D
RGBrgb(169, 148, 45)
HSLhsl(50, 58%, 42%)
HSVhsv(50, 73%, 66%)
CMYKcmyk(0%, 12.4%, 73.4%, 33.7%)
CIE-LABlab(61.49, -3.58, 54.28)
CIE-LCHlch(61.49, 54.40, 93.78°)
OKLaboklab(66.68% -0.0154 0.1202)
OKLCHoklch(66.68% 0.121 97.3)
XYZxyz(27.4271, 29.8057, 6.7905)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9942D #2D42A9
analogous
#A9562D #A9942D #80A92D
triadic
#A9942D #2DA994 #942DA9
tetradic
#A9942D #2DA956 #2D42A9 #A92D80
square
#A9942D #2DA956 #2D42A9 #A92D80
split-complementary
#A9942D #2D80A9 #562DA9
monochromatic
#483F13 #796A20 #A9942D #CEB746 #DAC976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9942D#FFFFFF#000000##000000
##A9942D1.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)
#A3901C
Deuteranopia (green-blind)
#A99733
Tritanopia (blue-blind)
#B78980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a9942d;
/* rgb */ color: rgb(169, 148, 45);
/* oklch */ color: oklch(66.7% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#c6b36d',
    500: '#a9942d',
    950: '#000000',
  },
}
SCSS
$custom: #a9942d;
$custom-light: #c6b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9942d",
  "rgb": {
    "r": 169,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 49.839,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6668,
    "c": 0.12114,
    "h": 97.3
  },
  "luminance": 0.29804
}

Semantic roles & 50–950 ramp

primary
#A9942D
secondary
#6F7EC2
accent
#61E147
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A9942D

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

Preview Lab → · Contrast checker → · Palette generator →

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