#AAA22D#AAA22D

#AAA22D is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.133 H 105.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AAA22D
RGBrgb(170, 162, 45)
HSLhsl(56, 58%, 42%)
HSVhsv(56, 74%, 67%)
CMYKcmyk(0%, 4.7%, 73.5%, 33.3%)
CIE-LABlab(65.42, -10.61, 58.11)
CIE-LCHlch(65.42, 59.07, 100.35°)
OKLaboklab(69.82% -0.0353 0.1282)
OKLCHoklch(69.82% 0.133 105.4)
XYZxyz(29.9728, 34.5773, 7.5774)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA22D #2D35AA
analogous
#AA642D #AAA22D #74AA2D
triadic
#AAA22D #2DAAA2 #A22DAA
tetradic
#AAA22D #2DAA64 #2D35AA #AA2D74
square
#AAA22D #2DAA64 #2D35AA #AA2D74
split-complementary
#AAA22D #2D74AA #642DAA
monochromatic
#494613 #7A7420 #AAA22D #CEC546 #DBD477

Accessibility & contrast

On white

2.65
#AAA22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AAA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA22D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA22D#FFFFFF#000000##000000
##AAA22D1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#B7978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa22d;
/* rgb */ color: rgb(170, 162, 45);
/* oklch */ color: oklch(69.8% 0.133 105.4);
Tailwind
colors: {
  custom: {
    50: '#c7bd6f',
    500: '#aaa22d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa22d;
$custom-light: #c7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa22d",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 56.16,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.133,
    "h": 105.4
  },
  "luminance": 0.34576
}

Semantic roles & 50–950 ramp

primary
#AAA22D
secondary
#7075C3
accent
#50E146
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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