#AAA42F#AAA42F

#AAA42F is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.134 H 106.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AAA42F
RGBrgb(170, 164, 47)
HSLhsl(57, 57%, 43%)
HSVhsv(57, 72%, 67%)
CMYKcmyk(0%, 3.5%, 72.4%, 33.3%)
CIE-LABlab(65.98, -11.56, 57.92)
CIE-LCHlch(65.98, 59.07, 101.29°)
OKLaboklab(70.28% -0.0378 0.1282)
OKLCHoklch(70.28% 0.134 106.4)
XYZxyz(30.3673, 35.3033, 7.9034)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA42F #2F35AA
analogous
#AA662F #AAA42F #73AA2F
triadic
#AAA42F #2FAAA4 #A42FAA
tetradic
#AAA42F #2FAA66 #2F35AA #AA2F73
square
#AAA42F #2FAA66 #2F35AA #AA2F73
split-complementary
#AAA42F #2F73AA #662FAA
monochromatic
#4A4714 #7A7622 #AAA42F #CDC649 #DAD579

Accessibility & contrast

On white

2.61
#AAA42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#AAA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA42F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA42F#FFFFFF#000000##000000
##AAA42F1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa42f;
/* rgb */ color: rgb(170, 164, 47);
/* oklch */ color: oklch(70.3% 0.134 106.4);
Tailwind
colors: {
  custom: {
    50: '#c7be70',
    500: '#aaa42f',
    950: '#000000',
  },
}
SCSS
$custom: #aaa42f;
$custom-light: #c7be70;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa42f",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 57.073,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70279,
    "c": 0.13365,
    "h": 106.4
  },
  "luminance": 0.35302
}

Semantic roles & 50–950 ramp

primary
#AAA42F
secondary
#7276C2
accent
#4FE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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