#AAA874#AAA874

#AAA874 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.070 H 106.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AAA874
RGBrgb(170, 168, 116)
HSLhsl(58, 24%, 56%)
HSVhsv(58, 32%, 67%)
CMYKcmyk(0%, 1.2%, 31.8%, 33.3%)
CIE-LABlab(67.88, -7.56, 27.19)
CIE-LCHlch(67.88, 28.22, 105.53°)
OKLaboklab(72.05% -0.0196 0.0677)
OKLCHoklch(72.05% 0.07 106.2)
XYZxyz(33.7328, 37.8129, 22.0412)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA874 #7476AA
analogous
#AA8D74 #AAA874 #91AA74
triadic
#AAA874 #74AAA8 #A874AA
tetradic
#AAA874 #74AA8D #7476AA #AA7491
square
#AAA874 #74AA8D #7476AA #AA7491
split-complementary
#AAA874 #7491AA #8D74AA
monochromatic
#66643E #8B8955 #AAA874 #C1C09A #D8D8C0

Accessibility & contrast

On white

2.45
#AAA874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#AAA874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA874
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA874#FFFFFF#000000##000000
##AAA8741.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A470
Deuteranopia (green-blind)
#B2A776
Tritanopia (blue-blind)
#B2A19B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa874;
/* rgb */ color: rgb(170, 168, 116);
/* oklch */ color: oklch(72.0% 0.070 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4c19c',
    500: '#aaa874',
    950: '#000000',
  },
}
SCSS
$custom: #aaa874;
$custom-light: #c4c19c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa874",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 116
  },
  "hsl": {
    "h": 57.778,
    "s": 24.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.72047,
    "c": 0.07046,
    "h": 106.2
  },
  "luminance": 0.37812
}

Semantic roles & 50–950 ramp

primary
#AAA874
secondary
#B2B3C8
accent
#6BC167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA874

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

Preview Lab → · Contrast checker → · Palette generator →

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