#AAA74B#AAA74B

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

Color values

HEX#AAA74B
RGBrgb(170, 167, 75)
HSLhsl(58, 39%, 48%)
HSVhsv(58, 56%, 67%)
CMYKcmyk(0%, 1.8%, 55.9%, 33.3%)
CIE-LABlab(67.05, -11.33, 47.11)
CIE-LCHlch(67.05, 48.45, 103.52°)
OKLaboklab(71.2% -0.034 0.1095)
OKLCHoklch(71.2% 0.115 107.3)
XYZxyz(31.6672, 36.6924, 12.0695)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA74B #4B4EAA
analogous
#AA774B #AAA74B #7DAA4B
triadic
#AAA74B #4BAAA7 #A74BAA
tetradic
#AAA74B #4BAA77 #4B4EAA #AA4B7D
square
#AAA74B #4BAA77 #4B4EAA #AA4B7D
split-complementary
#AAA74B #4B7DAA #774BAA
monochromatic
#555426 #807D38 #AAA74B #C1BE72 #D3D29C

Accessibility & contrast

On white

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

On black

8.34
#AAA74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA74B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA74B#FFFFFF#000000##000000
##AAA74B1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A142
Deuteranopia (green-blind)
#B5A550
Tritanopia (blue-blind)
#B59D93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa74b;
/* rgb */ color: rgb(170, 167, 75);
/* oklch */ color: oklch(71.2% 0.115 107.3);
Tailwind
colors: {
  custom: {
    50: '#c5c080',
    500: '#aaa74b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa74b;
$custom-light: #c5c080;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa74b",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 58.105,
    "s": 38.776,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.11471,
    "h": 107.3
  },
  "luminance": 0.36691
}

Semantic roles & 50–950 ramp

primary
#AAA74B
secondary
#9192C0
accent
#5DCF59
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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