#AA8C28#AA8C28

#AA8C28 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 65.0% C 0.119 H 91.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AA8C28
RGBrgb(170, 140, 40)
HSLhsl(46, 62%, 41%)
HSVhsv(46, 76%, 67%)
CMYKcmyk(0%, 17.6%, 76.5%, 33.3%)
CIE-LABlab(59.40, 1.01, 54.23)
CIE-LCHlch(59.40, 54.24, 88.94°)
OKLaboklab(65.04% -0.0029 0.119)
OKLCHoklch(65.04% 0.119 91.4)
XYZxyz(26.3402, 27.4570, 5.9194)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8C28 #2846AA
analogous
#AA4B28 #AA8C28 #87AA28
triadic
#AA8C28 #28AA8C #8C28AA
tetradic
#AA8C28 #28AA4B #2846AA #AA2887
square
#AA8C28 #28AA4B #2846AA #AA2887
split-complementary
#AA8C28 #2887AA #4B28AA
monochromatic
#473A11 #78631C #AA8C28 #D2AF3E #DDC46F

Accessibility & contrast

On white

3.24
#AA8C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AA8C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8C28
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8C28#FFFFFF#000000##000000
##AA8C281.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#A3932E
Tritanopia (blue-blind)
#B88079
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa8c28;
/* rgb */ color: rgb(170, 140, 40);
/* oklch */ color: oklch(65.0% 0.119 91.4);
Tailwind
colors: {
  custom: {
    50: '#c7ad6a',
    500: '#aa8c28',
    950: '#000000',
  },
}
SCSS
$custom: #aa8c28;
$custom-light: #c7ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8c28",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 46.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65039,
    "c": 0.11903,
    "h": 91.4
  },
  "luminance": 0.27455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8C28

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

Preview Lab → · Contrast checker → · Palette generator →

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