#A9942F#A9942F

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

Color values

HEX#A9942F
RGBrgb(169, 148, 47)
HSLhsl(50, 56%, 42%)
HSVhsv(50, 72%, 66%)
CMYKcmyk(0%, 12.4%, 72.2%, 33.7%)
CIE-LABlab(61.50, -3.49, 53.51)
CIE-LCHlch(61.50, 53.62, 93.73°)
OKLaboklab(66.7% -0.0149 0.1189)
OKLCHoklch(66.7% 0.12 97.1)
XYZxyz(27.4665, 29.8215, 6.9982)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9942F #2F44A9
analogous
#A9572F #A9942F #81A92F
triadic
#A9942F #2FA994 #942FA9
tetradic
#A9942F #2FA957 #2F44A9 #A92F81
square
#A9942F #2FA957 #2F44A9 #A92F81
split-complementary
#A9942F #2F81A9 #572FA9
monochromatic
#494014 #796A22 #A9942F #CCB649 #DAC979

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9942F#FFFFFF#000000##000000
##A9942F1.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)
#A39120
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#B68980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a9942f;
/* rgb */ color: rgb(169, 148, 47);
/* oklch */ color: oklch(66.7% 0.120 97.1);
Tailwind
colors: {
  custom: {
    50: '#c6b36e',
    500: '#a9942f',
    950: '#000000',
  },
}
SCSS
$custom: #a9942f;
$custom-light: #c6b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9942f",
  "rgb": {
    "r": 169,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 49.672,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.11982,
    "h": 97.1
  },
  "luminance": 0.2982
}

Semantic roles & 50–950 ramp

primary
#A9942F
secondary
#7280C2
accent
#62E048
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #A9942F

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

Preview Lab → · Contrast checker → · Palette generator →

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