#AAA22F#AAA22F

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

Color values

HEX#AAA22F
RGBrgb(170, 162, 47)
HSLhsl(56, 57%, 43%)
HSVhsv(56, 72%, 67%)
CMYKcmyk(0%, 4.7%, 72.4%, 33.3%)
CIE-LABlab(65.43, -10.52, 57.39)
CIE-LCHlch(65.43, 58.34, 100.38°)
OKLaboklab(69.84% -0.0348 0.1271)
OKLCHoklch(69.84% 0.132 105.3)
XYZxyz(30.0122, 34.5931, 7.7850)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA22F #2F37AA
analogous
#AA652F #AAA22F #74AA2F
triadic
#AAA22F #2FAAA2 #A22FAA
tetradic
#AAA22F #2FAA65 #2F37AA #AA2F74
square
#AAA22F #2FAA65 #2F37AA #AA2F74
split-complementary
#AAA22F #2F74AA #652FAA
monochromatic
#4A4714 #7A7422 #AAA22F #CDC449 #DAD479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA22F#FFFFFF#000000##000000
##AAA22F1.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)
#B09C1B
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B7978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa22f;
/* rgb */ color: rgb(170, 162, 47);
/* oklch */ color: oklch(69.8% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#c7bd70',
    500: '#aaa22f',
    950: '#000000',
  },
}
SCSS
$custom: #aaa22f;
$custom-light: #c7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa22f",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 56.098,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69838,
    "c": 0.13176,
    "h": 105.3
  },
  "luminance": 0.34592
}

Semantic roles & 50–950 ramp

primary
#AAA22F
secondary
#7278C2
accent
#52E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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