#AA8B28#AA8B28

#AA8B28 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.8% C 0.118 H 90.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AA8B28
RGBrgb(170, 139, 40)
HSLhsl(46, 62%, 41%)
HSVhsv(46, 76%, 67%)
CMYKcmyk(0%, 18.2%, 76.5%, 33.3%)
CIE-LABlab(59.13, 1.56, 53.97)
CIE-LCHlch(59.13, 53.99, 88.35°)
OKLaboklab(64.83% -0.0013 0.1185)
OKLCHoklch(64.83% 0.118 90.6)
XYZxyz(26.1947, 27.1661, 5.8710)
Luminance0.2716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8B28 #2847AA
analogous
#AA4A28 #AA8B28 #88AA28
triadic
#AA8B28 #28AA8B #8B28AA
tetradic
#AA8B28 #28AA4A #2847AA #AA2888
square
#AA8B28 #28AA4A #2847AA #AA2888
split-complementary
#AA8B28 #2888AA #4A28AA
monochromatic
#473A11 #78621C #AA8B28 #D2AE3E #DDC36F

Accessibility & contrast

On white

3.26
#AA8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AA8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8B28
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8B28#FFFFFF#000000##000000
##AA8B281.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#B87F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa8b28;
/* rgb */ color: rgb(170, 139, 40);
/* oklch */ color: oklch(64.8% 0.118 90.6);
Tailwind
colors: {
  custom: {
    50: '#c7ac69',
    500: '#aa8b28',
    950: '#000000',
  },
}
SCSS
$custom: #aa8b28;
$custom-light: #c7ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8b28",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 45.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64829,
    "c": 0.11846,
    "h": 90.6
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

primary
#AA8B28
secondary
#6A7FC4
accent
#69E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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