#AA942F#AA942F

#AA942F is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.8% C 0.120 H 96.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AA942F
RGBrgb(170, 148, 47)
HSLhsl(49, 57%, 43%)
HSVhsv(49, 72%, 67%)
CMYKcmyk(0%, 12.9%, 72.4%, 33.3%)
CIE-LABlab(61.60, -3.04, 53.63)
CIE-LCHlch(61.60, 53.72, 93.24°)
OKLaboklab(66.79% -0.0136 0.1191)
OKLCHoklch(66.79% 0.12 96.5)
XYZxyz(27.6819, 29.9325, 7.0082)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA942F #2F45AA
analogous
#AA562F #AA942F #83AA2F
triadic
#AA942F #2FAA94 #942FAA
tetradic
#AA942F #2FAA56 #2F45AA #AA2F83
square
#AA942F #2FAA56 #2F45AA #AA2F83
split-complementary
#AA942F #2F83AA #562FAA
monochromatic
#4A4114 #7A6A22 #AA942F #CDB549 #DAC979

Accessibility & contrast

On white

3.01
#AA942F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AA942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA942F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA942F#FFFFFF#000000##000000
##AA942F1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39120
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#B88980
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa942f;
/* rgb */ color: rgb(170, 148, 47);
/* oklch */ color: oklch(66.8% 0.120 96.5);
Tailwind
colors: {
  custom: {
    50: '#c7b36e',
    500: '#aa942f',
    950: '#000000',
  },
}
SCSS
$custom: #aa942f;
$custom-light: #c7b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa942f",
  "rgb": {
    "r": 170,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 49.268,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66794,
    "c": 0.11991,
    "h": 96.5
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#AA942F
secondary
#7281C2
accent
#63E048
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AA942F

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

Preview Lab → · Contrast checker → · Palette generator →

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