#AAAA2E#AAAA2E

#AAAA2E is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.140 H 109.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AAAA2E
RGBrgb(170, 170, 46)
HSLhsl(60, 57%, 42%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0%, 0%, 72.9%, 33.3%)
CIE-LABlab(67.65, -14.72, 59.88)
CIE-LCHlch(67.65, 61.66, 103.81°)
OKLaboklab(71.6% -0.0467 0.1322)
OKLCHoklch(71.6% 0.14 109.5)
XYZxyz(31.4466, 37.4937, 8.1647)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA2E #2E2EAA
analogous
#AA6C2E #AAAA2E #6CAA2E
triadic
#AAAA2E #2EAAAA #AA2EAA
tetradic
#AAAA2E #2EAA6C #2E2EAA #AA2E6C
square
#AAAA2E #2EAA6C #2E2EAA #AA2E6C
split-complementary
#AAAA2E #2E6CAA #6C2EAA
monochromatic
#4A4A14 #7A7A21 #AAAA2E #CDCD48 #DADA78

Accessibility & contrast

On white

2.47
#AAAA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AAAA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA2E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA2E#FFFFFF#000000##000000
##AAAA2E1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#B9A738
Tritanopia (blue-blind)
#B69F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa2e;
/* rgb */ color: rgb(170, 170, 46);
/* oklch */ color: oklch(71.6% 0.140 109.5);
Tailwind
colors: {
  custom: {
    50: '#c7c370',
    500: '#aaaa2e',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa2e;
$custom-light: #c7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa2e",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71603,
    "c": 0.14018,
    "h": 109.5
  },
  "luminance": 0.37493
}

Semantic roles & 50–950 ramp

primary
#AAAA2E
secondary
#7171C3
accent
#47E147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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