#AAAA2F#AAAA2F

#AAAA2F 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#AAAA2F
RGBrgb(170, 170, 47)
HSLhsl(60, 57%, 43%)
HSVhsv(60, 72%, 67%)
CMYKcmyk(0%, 0%, 72.4%, 33.3%)
CIE-LABlab(67.65, -14.68, 59.53)
CIE-LCHlch(67.65, 61.31, 103.85°)
OKLaboklab(71.61% -0.0465 0.1316)
OKLCHoklch(71.61% 0.14 109.5)
XYZxyz(31.4665, 37.5017, 8.2698)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA2F #2F2FAA
analogous
#AA6C2F #AAAA2F #6CAA2F
triadic
#AAAA2F #2FAAAA #AA2FAA
tetradic
#AAAA2F #2FAA6C #2F2FAA #AA2F6C
square
#AAAA2F #2FAA6C #2F2FAA #AA2F6C
split-complementary
#AAAA2F #2F6CAA #6C2FAA
monochromatic
#4A4A14 #7A7A22 #AAAA2F #CDCD49 #DADA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAA2F#FFFFFF#000000##000000
##AAAA2F1.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)
#B8A318
Deuteranopia (green-blind)
#B9A738
Tritanopia (blue-blind)
#B69F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa2f;
/* rgb */ color: rgb(170, 170, 47);
/* oklch */ color: oklch(71.6% 0.140 109.5);
Tailwind
colors: {
  custom: {
    50: '#c7c370',
    500: '#aaaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa2f;
$custom-light: #c7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa2f",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.13957,
    "h": 109.5
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#AAAA2F
secondary
#7272C2
accent
#48E048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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