#AAA121#AAA121

#AAA121 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.139 H 105.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AAA121
RGBrgb(170, 161, 33)
HSLhsl(56, 67%, 40%)
HSVhsv(56, 81%, 67%)
CMYKcmyk(0%, 5.3%, 80.6%, 33.3%)
CIE-LABlab(65.08, -10.57, 61.74)
CIE-LCHlch(65.08, 62.64, 99.72°)
OKLaboklab(69.53% -0.0363 0.1337)
OKLCHoklch(69.53% 0.139 105.2)
XYZxyz(29.5983, 34.1468, 6.4705)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA121 #212AAA
analogous
#AA5C21 #AAA121 #6FAA21
triadic
#AAA121 #21AAA1 #A121AA
tetradic
#AAA121 #21AA5C #212AAA #AA216F
square
#AAA121 #21AA5C #212AAA #AA216F
split-complementary
#AAA121 #216FAA #5C21AA
monochromatic
#43400D #777017 #AAA121 #D7CC31 #E1D964

Accessibility & contrast

On white

2.68
#AAA121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AAA121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA121
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA121#FFFFFF#000000##000000
##AAA1211.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#B7958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa121;
/* rgb */ color: rgb(170, 161, 33);
/* oklch */ color: oklch(69.5% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#c7bc69',
    500: '#aaa121',
    950: '#000000',
  },
}
SCSS
$custom: #aaa121;
$custom-light: #c7bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa121",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 56.058,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.13851,
    "h": 105.2
  },
  "luminance": 0.34146
}

Semantic roles & 50–950 ramp

primary
#AAA121
secondary
#6167C6
accent
#49EA3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #AAA121

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

Preview Lab → · Contrast checker → · Palette generator →

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