#AAA45C#AAA45C

#AAA45C is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.094 H 104.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AAA45C
RGBrgb(170, 164, 92)
HSLhsl(55, 31%, 51%)
HSVhsv(55, 46%, 67%)
CMYKcmyk(0%, 3.5%, 45.9%, 33.3%)
CIE-LABlab(66.42, -8.21, 37.96)
CIE-LCHlch(66.42, 38.84, 102.20°)
OKLaboklab(70.77% -0.0233 0.0912)
OKLCHoklch(70.77% 0.094 104.3)
XYZxyz(31.7855, 35.8706, 15.3725)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA45C #5C62AA
analogous
#AA7D5C #AAA45C #89AA5C
triadic
#AAA45C #5CAAA4 #A45CAA
tetradic
#AAA45C #5CAA7D #5C62AA #AA5C89
square
#AAA45C #5CAA7D #5C62AA #AA5C89
split-complementary
#AAA45C #5C89AA #7D5CAA
monochromatic
#5C5830 #847F45 #AAA45C #BFBA84 #D4D1AC

Accessibility & contrast

On white

2.57
#AAA45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AAA45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA45C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA45C#FFFFFF#000000##000000
##AAA45C1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F56
Deuteranopia (green-blind)
#B2A35F
Tritanopia (blue-blind)
#B49B93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa45c;
/* rgb */ color: rgb(170, 164, 92);
/* oklch */ color: oklch(70.8% 0.094 104.3);
Tailwind
colors: {
  custom: {
    50: '#c5be8b',
    500: '#aaa45c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa45c;
$custom-light: #c5be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa45c",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 55.385,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70767,
    "c": 0.09409,
    "h": 104.3
  },
  "luminance": 0.3587
}

Semantic roles & 50–950 ramp

primary
#AAA45C
secondary
#A0A2C2
accent
#68C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AAA45C

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

Preview Lab → · Contrast checker → · Palette generator →

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