#AAA82A#AAA82A

#AAA82A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.140 H 108.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AAA82A
RGBrgb(170, 168, 42)
HSLhsl(59, 60%, 42%)
HSVhsv(59, 75%, 67%)
CMYKcmyk(0%, 1.2%, 75.3%, 33.3%)
CIE-LABlab(67.07, -13.87, 60.71)
CIE-LCHlch(67.07, 62.27, 102.87°)
OKLaboklab(71.13% -0.0447 0.1332)
OKLCHoklch(71.13% 0.14 108.6)
XYZxyz(30.9993, 36.7195, 7.6447)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA82A #2A2CAA
analogous
#AA682A #AAA82A #6CAA2A
triadic
#AAA82A #2AAAA8 #A82AAA
tetradic
#AAA82A #2AAA68 #2A2CAA #AA2A6C
square
#AAA82A #2AAA68 #2A2CAA #AA2A6C
split-complementary
#AAA82A #2A6CAA #682AAA
monochromatic
#484712 #79781E #AAA82A #D0CE41 #DCDB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA82A#FFFFFF#000000##000000
##AAA82A1.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)
#B6A10D
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#B69D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa82a;
/* rgb */ color: rgb(170, 168, 42);
/* oklch */ color: oklch(71.1% 0.140 108.6);
Tailwind
colors: {
  custom: {
    50: '#c7c16e',
    500: '#aaa82a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa82a;
$custom-light: #c7c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa82a",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 59.063,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71133,
    "c": 0.14049,
    "h": 108.6
  },
  "luminance": 0.36718
}

Semantic roles & 50–950 ramp

primary
#AAA82A
secondary
#6C6EC3
accent
#47E444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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