#AA8F28#AA8F28

#AA8F28 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.7% C 0.121 H 93.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AA8F28
RGBrgb(170, 143, 40)
HSLhsl(48, 62%, 41%)
HSVhsv(48, 76%, 67%)
CMYKcmyk(0%, 15.9%, 76.5%, 33.3%)
CIE-LABlab(60.20, -0.64, 54.99)
CIE-LCHlch(60.20, 54.99, 90.67°)
OKLaboklab(65.68% -0.0076 0.1206)
OKLCHoklch(65.68% 0.121 93.6)
XYZxyz(26.7845, 28.3457, 6.0676)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F28 #2843AA
analogous
#AA4E28 #AA8F28 #84AA28
triadic
#AA8F28 #28AA8F #8F28AA
tetradic
#AA8F28 #28AA4E #2843AA #AA2884
square
#AA8F28 #28AA4E #2843AA #AA2884
split-complementary
#AA8F28 #2884AA #4E28AA
monochromatic
#473C11 #78651C #AA8F28 #D2B33E #DDC66F

Accessibility & contrast

On white

3.15
#AA8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AA8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8F28
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8F28#FFFFFF#000000##000000
##AA8F281.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C15
Deuteranopia (green-blind)
#A6942E
Tritanopia (blue-blind)
#B8837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa8f28;
/* rgb */ color: rgb(170, 143, 40);
/* oklch */ color: oklch(65.7% 0.121 93.6);
Tailwind
colors: {
  custom: {
    50: '#c7af6a',
    500: '#aa8f28',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f28;
$custom-light: #c7af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f28",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 47.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65675,
    "c": 0.12086,
    "h": 93.6
  },
  "luminance": 0.28344
}

Semantic roles & 50–950 ramp

primary
#AA8F28
secondary
#6A7DC4
accent
#64E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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