#AA9F2F#AA9F2F

#AA9F2F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.129 H 103.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AA9F2F
RGBrgb(170, 159, 47)
HSLhsl(55, 57%, 43%)
HSVhsv(55, 72%, 67%)
CMYKcmyk(0%, 6.5%, 72.4%, 33.3%)
CIE-LABlab(64.60, -8.93, 56.58)
CIE-LCHlch(64.60, 57.28, 98.97°)
OKLaboklab(69.18% -0.0304 0.1254)
OKLCHoklch(69.18% 0.129 103.6)
XYZxyz(29.4901, 33.5488, 7.6110)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9F2F #2F3AAA
analogous
#AA612F #AA9F2F #78AA2F
triadic
#AA9F2F #2FAA9F #9F2FAA
tetradic
#AA9F2F #2FAA61 #2F3AAA #AA2F78
square
#AA9F2F #2FAA61 #2F3AAA #AA2F78
split-complementary
#AA9F2F #2F78AA #612FAA
monochromatic
#4A4514 #7A7222 #AA9F2F #CDC149 #DAD179

Accessibility & contrast

On white

2.72
#AA9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AA9F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9F2F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9F2F#FFFFFF#000000##000000
##AA9F2F1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1C
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B79489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa9f2f;
/* rgb */ color: rgb(170, 159, 47);
/* oklch */ color: oklch(69.2% 0.129 103.6);
Tailwind
colors: {
  custom: {
    50: '#c7bb6f',
    500: '#aa9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa9f2f;
$custom-light: #c7bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9f2f",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 54.634,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69179,
    "c": 0.129,
    "h": 103.6
  },
  "luminance": 0.33548
}

Semantic roles & 50–950 ramp

primary
#AA9F2F
secondary
#727AC2
accent
#55E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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