#AA8F27#AA8F27

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

Color values

HEX#AA8F27
RGBrgb(170, 143, 39)
HSLhsl(48, 63%, 41%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.9%, 77.1%, 33.3%)
CIE-LABlab(60.19, -0.68, 55.35)
CIE-LCHlch(60.19, 55.35, 90.71°)
OKLaboklab(65.67% -0.0078 0.1212)
OKLCHoklch(65.67% 0.121 93.7)
XYZxyz(26.7677, 28.3390, 5.9791)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F27 #2742AA
analogous
#AA4E27 #AA8F27 #83AA27
triadic
#AA8F27 #27AA8F #8F27AA
tetradic
#AA8F27 #27AA4E #2742AA #AA2783
square
#AA8F27 #27AA4E #2742AA #AA2783
split-complementary
#AA8F27 #2783AA #4E27AA
monochromatic
#463B10 #78651C #AA8F27 #D2B33C #DEC76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA8F27#FFFFFF#000000##000000
##AA8F271.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)
#9F8C13
Deuteranopia (green-blind)
#A6942D
Tritanopia (blue-blind)
#B8837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa8f27;
/* rgb */ color: rgb(170, 143, 39);
/* oklch */ color: oklch(65.7% 0.121 93.7);
Tailwind
colors: {
  custom: {
    50: '#c7af69',
    500: '#aa8f27',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f27;
$custom-light: #c7af69;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f27",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 47.634,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65668,
    "c": 0.12143,
    "h": 93.7
  },
  "luminance": 0.28337
}

Semantic roles & 50–950 ramp

primary
#AA8F27
secondary
#697BC4
accent
#64E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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