#AAA22C#AAA22C

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

Color values

HEX#AAA22C
RGBrgb(170, 162, 44)
HSLhsl(56, 59%, 42%)
HSVhsv(56, 74%, 67%)
CMYKcmyk(0%, 4.7%, 74.1%, 33.3%)
CIE-LABlab(65.41, -10.66, 58.46)
CIE-LCHlch(65.41, 59.43, 100.33°)
OKLaboklab(69.82% -0.0355 0.1288)
OKLCHoklch(69.82% 0.134 105.4)
XYZxyz(29.9538, 34.5697, 7.4772)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA22C #2C34AA
analogous
#AA632C #AAA22C #73AA2C
triadic
#AAA22C #2CAAA2 #A22CAA
tetradic
#AAA22C #2CAA63 #2C34AA #AA2C73
square
#AAA22C #2CAA63 #2C34AA #AA2C73
split-complementary
#AAA22C #2C73AA #632CAA
monochromatic
#494513 #79741F #AAA22C #CFC644 #DBD575

Accessibility & contrast

On white

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

On black

7.91
#AAA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA22C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA22C#FFFFFF#000000##000000
##AAA22C1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa22c;
/* rgb */ color: rgb(170, 162, 44);
/* oklch */ color: oklch(69.8% 0.134 105.4);
Tailwind
colors: {
  custom: {
    50: '#c7bd6e',
    500: '#aaa22c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa22c;
$custom-light: #c7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa22c",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 56.19,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69818,
    "c": 0.1336,
    "h": 105.4
  },
  "luminance": 0.34569
}

Semantic roles & 50–950 ramp

primary
#AAA22C
secondary
#6F74C3
accent
#50E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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