#AA9E2F#AA9E2F

#AA9E2F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.128 H 103.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AA9E2F
RGBrgb(170, 158, 47)
HSLhsl(54, 57%, 43%)
HSVhsv(54, 72%, 67%)
CMYKcmyk(0%, 7.1%, 72.4%, 33.3%)
CIE-LABlab(64.33, -8.40, 56.32)
CIE-LCHlch(64.33, 56.94, 98.49°)
OKLaboklab(68.96% -0.0289 0.1248)
OKLCHoklch(68.96% 0.128 103)
XYZxyz(29.3188, 33.2062, 7.5539)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E2F #2F3BAA
analogous
#AA602F #AA9E2F #79AA2F
triadic
#AA9E2F #2FAA9E #9E2FAA
tetradic
#AA9E2F #2FAA60 #2F3BAA #AA2F79
square
#AA9E2F #2FAA60 #2F3BAA #AA2F79
split-complementary
#AA9E2F #2F79AA #602FAA
monochromatic
#4A4514 #7A7122 #AA9E2F #CDC049 #DAD179

Accessibility & contrast

On white

2.75
#AA9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AA9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E2F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E2F#FFFFFF#000000##000000
##AA9E2F1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9e2f;
/* rgb */ color: rgb(170, 158, 47);
/* oklch */ color: oklch(69.0% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#c7ba6f',
    500: '#aa9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e2f;
$custom-light: #c7ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e2f",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 54.146,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68961,
    "c": 0.1281,
    "h": 103
  },
  "luminance": 0.33205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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