#AAA22E#AAA22E

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

Color values

HEX#AAA22E
RGBrgb(170, 162, 46)
HSLhsl(56, 57%, 42%)
HSVhsv(56, 73%, 67%)
CMYKcmyk(0%, 4.7%, 72.9%, 33.3%)
CIE-LABlab(65.42, -10.56, 57.75)
CIE-LCHlch(65.42, 58.71, 100.37°)
OKLaboklab(69.83% -0.0351 0.1277)
OKLCHoklch(69.83% 0.132 105.4)
XYZxyz(29.9923, 34.5851, 7.6800)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA22E #2E36AA
analogous
#AA642E #AAA22E #74AA2E
triadic
#AAA22E #2EAAA2 #A22EAA
tetradic
#AAA22E #2EAA64 #2E36AA #AA2E74
square
#AAA22E #2EAA64 #2E36AA #AA2E74
split-complementary
#AAA22E #2E74AA #642EAA
monochromatic
#4A4614 #7A7421 #AAA22E #CDC548 #DAD478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA22E#FFFFFF#000000##000000
##AAA22E1.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)
#B09C19
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#B7978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa22e;
/* rgb */ color: rgb(170, 162, 46);
/* oklch */ color: oklch(69.8% 0.132 105.4);
Tailwind
colors: {
  custom: {
    50: '#c7bd6f',
    500: '#aaa22e',
    950: '#000000',
  },
}
SCSS
$custom: #aaa22e;
$custom-light: #c7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa22e",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 56.129,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.13239,
    "h": 105.4
  },
  "luminance": 0.34584
}

Semantic roles & 50–950 ramp

primary
#AAA22E
secondary
#7177C3
accent
#51E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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