#AAA22A#AAA22A

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

Color values

HEX#AAA22A
RGBrgb(170, 162, 42)
HSLhsl(56, 60%, 42%)
HSVhsv(56, 75%, 67%)
CMYKcmyk(0%, 4.7%, 75.3%, 33.3%)
CIE-LABlab(65.40, -10.75, 59.16)
CIE-LCHlch(65.40, 60.13, 100.30°)
OKLaboklab(69.8% -0.036 0.1299)
OKLCHoklch(69.8% 0.135 105.5)
XYZxyz(29.9171, 34.5550, 7.2839)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA22A #2A32AA
analogous
#AA622A #AAA22A #72AA2A
triadic
#AAA22A #2AAAA2 #A22AAA
tetradic
#AAA22A #2AAA62 #2A32AA #AA2A72
square
#AAA22A #2AAA62 #2A32AA #AA2A72
split-complementary
#AAA22A #2A72AA #622AAA
monochromatic
#484412 #79731E #AAA22A #D0C741 #DCD672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA22A#FFFFFF#000000##000000
##AAA22A1.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)
#B09C11
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#B7978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa22a;
/* rgb */ color: rgb(170, 162, 42);
/* oklch */ color: oklch(69.8% 0.135 105.5);
Tailwind
colors: {
  custom: {
    50: '#c7bd6d',
    500: '#aaa22a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa22a;
$custom-light: #c7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa22a",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 56.25,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69805,
    "c": 0.13477,
    "h": 105.5
  },
  "luminance": 0.34554
}

Semantic roles & 50–950 ramp

primary
#AAA22A
secondary
#6C72C3
accent
#4EE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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