#AAA42D#AAA42D

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

Color values

HEX#AAA42D
RGBrgb(170, 164, 45)
HSLhsl(57, 58%, 42%)
HSVhsv(57, 74%, 67%)
CMYKcmyk(0%, 3.5%, 73.5%, 33.3%)
CIE-LABlab(65.97, -11.66, 58.64)
CIE-LCHlch(65.97, 59.79, 101.25°)
OKLaboklab(70.27% -0.0382 0.1294)
OKLCHoklch(70.27% 0.135 106.5)
XYZxyz(30.3279, 35.2875, 7.6958)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA42D #2D33AA
analogous
#AA662D #AAA42D #72AA2D
triadic
#AAA42D #2DAAA4 #A42DAA
tetradic
#AAA42D #2DAA66 #2D33AA #AA2D72
square
#AAA42D #2DAA66 #2D33AA #AA2D72
split-complementary
#AAA42D #2D72AA #662DAA
monochromatic
#494713 #7A7520 #AAA42D #CEC846 #DBD677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA42D#FFFFFF#000000##000000
##AAA42D1.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)
#B29E16
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa42d;
/* rgb */ color: rgb(170, 164, 45);
/* oklch */ color: oklch(70.3% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#c7be6f',
    500: '#aaa42d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa42d;
$custom-light: #c7be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa42d",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 57.12,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70265,
    "c": 0.13488,
    "h": 106.5
  },
  "luminance": 0.35286
}

Semantic roles & 50–950 ramp

primary
#AAA42D
secondary
#7074C3
accent
#4EE146
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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