#AA8A28#AA8A28

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

Color values

HEX#AA8A28
RGBrgb(170, 138, 40)
HSLhsl(45, 62%, 41%)
HSVhsv(45, 76%, 67%)
CMYKcmyk(0%, 18.8%, 76.5%, 33.3%)
CIE-LABlab(58.86, 2.11, 53.72)
CIE-LCHlch(58.86, 53.76, 87.75°)
OKLaboklab(64.62% 0.0003 0.1179)
OKLCHoklch(64.62% 0.118 89.9)
XYZxyz(26.0506, 26.8779, 5.8229)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8A28 #2848AA
analogous
#AA4928 #AA8A28 #89AA28
triadic
#AA8A28 #28AA8A #8A28AA
tetradic
#AA8A28 #28AA49 #2848AA #AA2889
square
#AA8A28 #28AA49 #2848AA #AA2889
split-complementary
#AA8A28 #2889AA #4928AA
monochromatic
#473A11 #78621C #AA8A28 #D2AD3E #DDC26F

Accessibility & contrast

On white

3.29
#AA8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AA8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8A28
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8A28#FFFFFF#000000##000000
##AA8A281.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa8a28;
/* rgb */ color: rgb(170, 138, 40);
/* oklch */ color: oklch(64.6% 0.118 89.9);
Tailwind
colors: {
  custom: {
    50: '#c7ab69',
    500: '#aa8a28',
    950: '#000000',
  },
}
SCSS
$custom: #aa8a28;
$custom-light: #c7ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8a28",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 45.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.11791,
    "h": 89.9
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#AA8A28
secondary
#6A80C4
accent
#6BE543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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