#AAA42A#AAA42A

#AAA42A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.137 H 106.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AAA42A
RGBrgb(170, 164, 42)
HSLhsl(57, 60%, 42%)
HSVhsv(57, 75%, 67%)
CMYKcmyk(0%, 3.5%, 75.3%, 33.3%)
CIE-LABlab(65.95, -11.79, 59.67)
CIE-LCHlch(65.95, 60.83, 101.18°)
OKLaboklab(70.25% -0.0389 0.131)
OKLCHoklch(70.25% 0.137 106.5)
XYZxyz(30.2722, 35.2652, 7.4023)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA42A #2A30AA
analogous
#AA642A #AAA42A #70AA2A
triadic
#AAA42A #2AAAA4 #A42AAA
tetradic
#AAA42A #2AAA64 #2A30AA #AA2A70
square
#AAA42A #2AAA64 #2A30AA #AA2A70
split-complementary
#AAA42A #2A70AA #642AAA
monochromatic
#484512 #79751E #AAA42A #D0C941 #DCD772

Accessibility & contrast

On white

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

On black

8.05
#AAA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA42A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA42A#FFFFFF#000000##000000
##AAA42A1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa42a;
/* rgb */ color: rgb(170, 164, 42);
/* oklch */ color: oklch(70.2% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#c7be6d',
    500: '#aaa42a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa42a;
$custom-light: #c7be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa42a",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 57.188,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.13663,
    "h": 106.5
  },
  "luminance": 0.35264
}

Semantic roles & 50–950 ramp

primary
#AAA42A
secondary
#6C70C3
accent
#4CE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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