#AAA74C#AAA74C

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

Color values

HEX#AAA74C
RGBrgb(170, 167, 76)
HSLhsl(58, 38%, 48%)
HSVhsv(58, 55%, 67%)
CMYKcmyk(0%, 1.8%, 55.3%, 33.3%)
CIE-LABlab(67.06, -11.25, 46.65)
CIE-LCHlch(67.06, 47.98, 103.56°)
OKLaboklab(71.21% -0.0337 0.1087)
OKLCHoklch(71.21% 0.114 107.2)
XYZxyz(31.7017, 36.7062, 12.2511)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA74C #4C4FAA
analogous
#AA784C #AAA74C #7EAA4C
triadic
#AAA74C #4CAAA7 #A74CAA
tetradic
#AAA74C #4CAA78 #4C4FAA #AA4C7E
square
#AAA74C #4CAA78 #4C4FAA #AA4C7E
split-complementary
#AAA74C #4C7EAA #784CAA
monochromatic
#555426 #807D39 #AAA74C #C0BE73 #D3D29D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA74C#FFFFFF#000000##000000
##AAA74C1.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)
#B3A143
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#B59D93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa74c;
/* rgb */ color: rgb(170, 167, 76);
/* oklch */ color: oklch(71.2% 0.114 107.2);
Tailwind
colors: {
  custom: {
    50: '#c5c081',
    500: '#aaa74c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa74c;
$custom-light: #c5c081;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa74c",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 58.085,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7121,
    "c": 0.11378,
    "h": 107.2
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

primary
#AAA74C
secondary
#9293C0
accent
#5DCE5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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