#AAA82B#AAA82B

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

Color values

HEX#AAA82B
RGBrgb(170, 168, 43)
HSLhsl(59, 60%, 42%)
HSVhsv(59, 75%, 67%)
CMYKcmyk(0%, 1.2%, 74.7%, 33.3%)
CIE-LABlab(67.07, -13.83, 60.38)
CIE-LCHlch(67.07, 61.94, 102.90°)
OKLaboklab(71.14% -0.0445 0.1327)
OKLCHoklch(71.14% 0.14 108.5)
XYZxyz(31.0174, 36.7267, 7.7401)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA82B #2B2DAA
analogous
#AA692B #AAA82B #6DAA2B
triadic
#AAA82B #2BAAA8 #A82BAA
tetradic
#AAA82B #2BAA69 #2B2DAA #AA2B6D
square
#AAA82B #2BAA69 #2B2DAA #AA2B6D
split-complementary
#AAA82B #2B6DAA #692BAA
monochromatic
#484712 #79781F #AAA82B #CFCD43 #DCDA74

Accessibility & contrast

On white

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

On black

8.35
#AAA82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA82B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA82B#FFFFFF#000000##000000
##AAA82B1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A110
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B69D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa82b;
/* rgb */ color: rgb(170, 168, 43);
/* oklch */ color: oklch(71.1% 0.140 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c16e',
    500: '#aaa82b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa82b;
$custom-light: #c7c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa82b",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 59.055,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71139,
    "c": 0.13992,
    "h": 108.5
  },
  "luminance": 0.36726
}

Semantic roles & 50–950 ramp

primary
#AAA82B
secondary
#6E6FC3
accent
#47E345
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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