#AAA042#AAA042

#AAA042 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.116 H 103.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AAA042
RGBrgb(170, 160, 66)
HSLhsl(54, 44%, 46%)
HSVhsv(54, 61%, 67%)
CMYKcmyk(0%, 5.9%, 61.2%, 33.3%)
CIE-LABlab(65.03, -8.32, 49.03)
CIE-LCHlch(65.03, 49.74, 99.63°)
OKLaboklab(69.57% -0.0265 0.1125)
OKLCHoklch(69.57% 0.116 103.3)
XYZxyz(30.1328, 34.0821, 10.1445)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA042 #424CAA
analogous
#AA6C42 #AAA042 #80AA42
triadic
#AAA042 #42AAA0 #A042AA
tetradic
#AAA042 #42AA6C #424CAA #AA4280
square
#AAA042 #42AA6C #424CAA #AA4280
split-complementary
#AAA042 #4280AA #6C42AA
monochromatic
#524D20 #7E7731 #AAA042 #C3BA66 #D5CE92

Accessibility & contrast

On white

2.69
#AAA042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AAA042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA042
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA042#FFFFFF#000000##000000
##AAA0421.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B37
Deuteranopia (green-blind)
#B1A047
Tritanopia (blue-blind)
#B6968C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa042;
/* rgb */ color: rgb(170, 160, 66);
/* oklch */ color: oklch(69.6% 0.116 103.3);
Tailwind
colors: {
  custom: {
    50: '#c6bb7a',
    500: '#aaa042',
    950: '#000000',
  },
}
SCSS
$custom: #aaa042;
$custom-light: #c6bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa042",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 54.231,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69565,
    "c": 0.11559,
    "h": 103.3
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

primary
#AAA042
secondary
#888DC0
accent
#60D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AAA042

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

Preview Lab → · Contrast checker → · Palette generator →

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