#AAA845#AAA845

#AAA845 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.121 H 108.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AAA845
RGBrgb(170, 168, 69)
HSLhsl(59, 42%, 47%)
HSVhsv(59, 59%, 67%)
CMYKcmyk(0%, 1.2%, 59.4%, 33.3%)
CIE-LABlab(67.26, -12.31, 50.13)
CIE-LCHlch(67.26, 51.62, 103.80°)
OKLaboklab(71.35% -0.0375 0.1153)
OKLCHoklch(71.35% 0.121 108)
XYZxyz(31.6553, 36.9819, 11.0998)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA845 #4547AA
analogous
#AA7645 #AAA845 #7AAA45
triadic
#AAA845 #45AAA8 #A845AA
tetradic
#AAA845 #45AA76 #4547AA #AA457A
square
#AAA845 #45AA76 #4547AA #AA457A
split-complementary
#AAA845 #457AAA #7645AA
monochromatic
#535222 #7E7D33 #AAA845 #C2C16A #D4D395

Accessibility & contrast

On white

2.50
#AAA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AAA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA845
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA845#FFFFFF#000000##000000
##AAA8451.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#B7A54B
Tritanopia (blue-blind)
#B59E93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa845;
/* rgb */ color: rgb(170, 168, 69);
/* oklch */ color: oklch(71.4% 0.121 108.0);
Tailwind
colors: {
  custom: {
    50: '#c6c17d',
    500: '#aaa845',
    950: '#000000',
  },
}
SCSS
$custom: #aaa845;
$custom-light: #c6c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa845",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 58.812,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71353,
    "c": 0.1212,
    "h": 108
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

primary
#AAA845
secondary
#8B8CC0
accent
#58D256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA845

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

Preview Lab → · Contrast checker → · Palette generator →

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