#AAA142#AAA142

#AAA142 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.117 H 103.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AAA142
RGBrgb(170, 161, 66)
HSLhsl(55, 44%, 46%)
HSVhsv(55, 61%, 67%)
CMYKcmyk(0%, 5.3%, 61.2%, 33.3%)
CIE-LABlab(65.30, -8.85, 49.34)
CIE-LCHlch(65.30, 50.12, 100.17°)
OKLaboklab(69.78% -0.028 0.1132)
OKLCHoklch(69.78% 0.117 103.9)
XYZxyz(30.3069, 34.4302, 10.2025)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA142 #424BAA
analogous
#AA6D42 #AAA142 #7FAA42
triadic
#AAA142 #42AAA1 #A142AA
tetradic
#AAA142 #42AA6D #424BAA #AA427F
square
#AAA142 #42AA6D #424BAA #AA427F
split-complementary
#AAA142 #427FAA #6D42AA
monochromatic
#524E20 #7E7731 #AAA142 #C3BB66 #D5CF92

Accessibility & contrast

On white

2.66
#AAA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AAA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA142
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA142#FFFFFF#000000##000000
##AAA1421.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#B1A147
Tritanopia (blue-blind)
#B6978D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa142;
/* rgb */ color: rgb(170, 161, 66);
/* oklch */ color: oklch(69.8% 0.117 103.9);
Tailwind
colors: {
  custom: {
    50: '#c6bc7a',
    500: '#aaa142',
    950: '#000000',
  },
}
SCSS
$custom: #aaa142;
$custom-light: #c6bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa142",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 54.808,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69784,
    "c": 0.11657,
    "h": 103.9
  },
  "luminance": 0.34429
}

Semantic roles & 50–950 ramp

primary
#AAA142
secondary
#888DC0
accent
#5FD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA142

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

Preview Lab → · Contrast checker → · Palette generator →

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