#AA8E2F#AA8E2F

#AA8E2F is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.5% C 0.116 H 92.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AA8E2F
RGBrgb(170, 142, 47)
HSLhsl(46, 57%, 43%)
HSVhsv(46, 72%, 67%)
CMYKcmyk(0%, 16.5%, 72.4%, 33.3%)
CIE-LABlab(59.98, 0.24, 52.03)
CIE-LCHlch(59.98, 52.03, 89.74°)
OKLaboklab(65.52% -0.0043 0.1157)
OKLCHoklch(65.52% 0.116 92.1)
XYZxyz(26.7651, 28.0989, 6.7026)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8E2F #2F4BAA
analogous
#AA502F #AA8E2F #89AA2F
triadic
#AA8E2F #2FAA8E #8E2FAA
tetradic
#AA8E2F #2FAA50 #2F4BAA #AA2F89
square
#AA8E2F #2FAA50 #2F4BAA #AA2F89
split-complementary
#AA8E2F #2F89AA #502FAA
monochromatic
#4A3E14 #7A6622 #AA8E2F #CDAF49 #DAC479

Accessibility & contrast

On white

3.17
#AA8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AA8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8E2F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8E2F#FFFFFF#000000##000000
##AA8E2F1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#B8827B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa8e2f;
/* rgb */ color: rgb(170, 142, 47);
/* oklch */ color: oklch(65.5% 0.116 92.1);
Tailwind
colors: {
  custom: {
    50: '#c7ae6e',
    500: '#aa8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa8e2f;
$custom-light: #c7ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8e2f",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 46.341,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65515,
    "c": 0.11581,
    "h": 92.1
  },
  "luminance": 0.28097
}

Semantic roles & 50–950 ramp

primary
#AA8E2F
secondary
#7285C2
accent
#6AE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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