#AA972F#AA972F

#AA972F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.122 H 98.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AA972F
RGBrgb(170, 151, 47)
HSLhsl(51, 57%, 43%)
HSVhsv(51, 72%, 67%)
CMYKcmyk(0%, 11.2%, 72.4%, 33.3%)
CIE-LABlab(62.41, -4.66, 54.44)
CIE-LCHlch(62.41, 54.64, 94.89°)
OKLaboklab(67.44% -0.0183 0.1208)
OKLCHoklch(67.44% 0.122 98.6)
XYZxyz(28.1586, 30.8859, 7.1671)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA972F #2F42AA
analogous
#AA5A2F #AA972F #7FAA2F
triadic
#AA972F #2FAA97 #972FAA
tetradic
#AA972F #2FAA5A #2F42AA #AA2F7F
square
#AA972F #2FAA5A #2F42AA #AA2F7F
split-complementary
#AA972F #2F7FAA #5A2FAA
monochromatic
#4A4214 #7A6C22 #AA972F #CDB849 #DACB79

Accessibility & contrast

On white

2.93
#AA972F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#AA972F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA972F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA972F#FFFFFF#000000##000000
##AA972F1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#B78C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa972f;
/* rgb */ color: rgb(170, 151, 47);
/* oklch */ color: oklch(67.4% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#c7b56e',
    500: '#aa972f',
    950: '#000000',
  },
}
SCSS
$custom: #aa972f;
$custom-light: #c7b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa972f",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 50.732,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.1222,
    "h": 98.6
  },
  "luminance": 0.30885
}

Semantic roles & 50–950 ramp

primary
#AA972F
secondary
#727FC2
accent
#5FE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AA972F

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

Preview Lab → · Contrast checker → · Palette generator →

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