#AAA542#AAA542

#AAA542 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.121 H 106.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AAA542
RGBrgb(170, 165, 66)
HSLhsl(57, 44%, 46%)
HSVhsv(57, 61%, 67%)
CMYKcmyk(0%, 2.9%, 61.2%, 33.3%)
CIE-LABlab(66.41, -10.96, 50.54)
CIE-LCHlch(66.41, 51.72, 102.24°)
OKLaboklab(70.66% -0.034 0.1157)
OKLCHoklch(70.66% 0.121 106.4)
XYZxyz(31.0171, 35.8507, 10.4392)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA542 #4247AA
analogous
#AA7142 #AAA542 #7BAA42
triadic
#AAA542 #42AAA5 #A542AA
tetradic
#AAA542 #42AA71 #4247AA #AA427B
square
#AAA542 #42AA71 #4247AA #AA427B
split-complementary
#AAA542 #427BAA #7142AA
monochromatic
#524F20 #7E7A31 #AAA542 #C3BF66 #D5D192

Accessibility & contrast

On white

2.57
#AAA542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AAA542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA542
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA542#FFFFFF#000000##000000
##AAA5421.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B4A348
Tritanopia (blue-blind)
#B69B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa542;
/* rgb */ color: rgb(170, 165, 66);
/* oklch */ color: oklch(70.7% 0.121 106.4);
Tailwind
colors: {
  custom: {
    50: '#c6bf7b',
    500: '#aaa542',
    950: '#000000',
  },
}
SCSS
$custom: #aaa542;
$custom-light: #c6bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa542",
  "rgb": {
    "r": 170,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 57.115,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70661,
    "c": 0.1206,
    "h": 106.4
  },
  "luminance": 0.3585
}

Semantic roles & 50–950 ramp

primary
#AAA542
secondary
#888BC0
accent
#5AD454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA542

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

Preview Lab → · Contrast checker → · Palette generator →

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