#AAA871#AAA871

#AAA871 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.074 H 106.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AAA871
RGBrgb(170, 168, 113)
HSLhsl(58, 25%, 55%)
HSVhsv(58, 34%, 67%)
CMYKcmyk(0%, 1.2%, 33.5%, 33.3%)
CIE-LABlab(67.83, -7.94, 28.73)
CIE-LCHlch(67.83, 29.81, 105.45°)
OKLaboklab(71.99% -0.0209 0.0712)
OKLCHoklch(71.99% 0.074 106.3)
XYZxyz(33.5611, 37.7442, 21.1370)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA871 #7173AA
analogous
#AA8B71 #AAA871 #8FAA71
triadic
#AAA871 #71AAA8 #A871AA
tetradic
#AAA871 #71AA8B #7173AA #AA718F
square
#AAA871 #71AA8B #7173AA #AA718F
split-complementary
#AAA871 #718FAA #8B71AA
monochromatic
#64633C #8B8953 #AAA871 #C1BF97 #D8D7BE

Accessibility & contrast

On white

2.46
#AAA871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AAA871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA871
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA871#FFFFFF#000000##000000
##AAA8711.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46D
Deuteranopia (green-blind)
#B2A673
Tritanopia (blue-blind)
#B2A19A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa871;
/* rgb */ color: rgb(170, 168, 113);
/* oklch */ color: oklch(72.0% 0.074 106.3);
Tailwind
colors: {
  custom: {
    50: '#c4c19a',
    500: '#aaa871',
    950: '#000000',
  },
}
SCSS
$custom: #aaa871;
$custom-light: #c4c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa871",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 57.895,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7199,
    "c": 0.07419,
    "h": 106.3
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

primary
#AAA871
secondary
#B0B0C7
accent
#69C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA871

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

Preview Lab → · Contrast checker → · Palette generator →

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