#AAA74F#AAA74F

#AAA74F is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.111 H 107.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AAA74F
RGBrgb(170, 167, 79)
HSLhsl(58, 37%, 49%)
HSVhsv(58, 54%, 67%)
CMYKcmyk(0%, 1.8%, 53.5%, 33.3%)
CIE-LABlab(67.09, -11.00, 45.25)
CIE-LCHlch(67.09, 46.56, 103.66°)
OKLaboklab(71.25% -0.0327 0.106)
OKLCHoklch(71.25% 0.111 107.1)
XYZxyz(31.8084, 36.7489, 12.8133)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA74F #4F52AA
analogous
#AA7A4F #AAA74F #80AA4F
triadic
#AAA74F #4FAAA7 #A74FAA
tetradic
#AAA74F #4FAA7A #4F52AA #AA4F80
square
#AAA74F #4FAA7A #4F52AA #AA4F80
split-complementary
#AAA74F #4F80AA #7A4FAA
monochromatic
#565528 #807E3C #AAA74F #C0BD77 #D3D1A0

Accessibility & contrast

On white

2.52
#AAA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AAA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA74F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA74F#FFFFFF#000000##000000
##AAA74F1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A146
Deuteranopia (green-blind)
#B5A554
Tritanopia (blue-blind)
#B59E93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa74f;
/* rgb */ color: rgb(170, 167, 79);
/* oklch */ color: oklch(71.2% 0.111 107.1);
Tailwind
colors: {
  custom: {
    50: '#c5c183',
    500: '#aaa74f',
    950: '#000000',
  },
}
SCSS
$custom: #aaa74f;
$custom-light: #c5c183;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa74f",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 58.022,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.1109,
    "h": 107.1
  },
  "luminance": 0.36748
}

Semantic roles & 50–950 ramp

primary
#AAA74F
secondary
#9596C0
accent
#5FCD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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