#AA8A25#AA8A25

#AA8A25 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.6% C 0.120 H 90.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AA8A25
RGBrgb(170, 138, 37)
HSLhsl(46, 64%, 41%)
HSVhsv(46, 78%, 67%)
CMYKcmyk(0%, 18.8%, 78.2%, 33.3%)
CIE-LABlab(58.84, 1.98, 54.82)
CIE-LCHlch(58.84, 54.86, 87.93°)
OKLaboklab(64.6% -0.0004 0.1196)
OKLCHoklch(64.6% 0.12 90.2)
XYZxyz(26.0015, 26.8582, 5.5646)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8A25 #2545AA
analogous
#AA4725 #AA8A25 #87AA25
triadic
#AA8A25 #25AA8A #8A25AA
tetradic
#AA8A25 #25AA47 #2545AA #AA2587
square
#AA8A25 #25AA47 #2545AA #AA2587
split-complementary
#AA8A25 #2587AA #4725AA
monochromatic
#45380F #78611A #AA8A25 #D4AE38 #DFC36B

Accessibility & contrast

On white

3.30
#AA8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AA8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8A25
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8A25#FFFFFF#000000##000000
##AA8A251.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#B87E77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa8a25;
/* rgb */ color: rgb(170, 138, 37);
/* oklch */ color: oklch(64.6% 0.120 90.2);
Tailwind
colors: {
  custom: {
    50: '#c8ab68',
    500: '#aa8a25',
    950: '#000000',
  },
}
SCSS
$custom: #aa8a25;
$custom-light: #c8ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8a25",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 45.564,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64598,
    "c": 0.11963,
    "h": 90.2
  },
  "luminance": 0.26857
}

Semantic roles & 50–950 ramp

primary
#AA8A25
secondary
#667DC5
accent
#69E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #AA8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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