#AAA342#AAA342

#AAA342 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.119 H 105.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AAA342
RGBrgb(170, 163, 66)
HSLhsl(56, 44%, 46%)
HSVhsv(56, 61%, 67%)
CMYKcmyk(0%, 4.1%, 61.2%, 33.3%)
CIE-LABlab(65.85, -9.91, 49.94)
CIE-LCHlch(65.85, 50.91, 101.22°)
OKLaboklab(70.22% -0.031 0.1144)
OKLCHoklch(70.22% 0.119 105.2)
XYZxyz(30.6592, 35.1348, 10.3199)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA342 #4249AA
analogous
#AA6F42 #AAA342 #7DAA42
triadic
#AAA342 #42AAA3 #A342AA
tetradic
#AAA342 #42AA6F #4249AA #AA427D
square
#AAA342 #42AA6F #4249AA #AA427D
split-complementary
#AAA342 #427DAA #6F42AA
monochromatic
#524E20 #7E7931 #AAA342 #C3BD66 #D5D092

Accessibility & contrast

On white

2.62
#AAA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#AAA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA342
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA342#FFFFFF#000000##000000
##AAA3421.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#B6998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa342;
/* rgb */ color: rgb(170, 163, 66);
/* oklch */ color: oklch(70.2% 0.119 105.2);
Tailwind
colors: {
  custom: {
    50: '#c6be7a',
    500: '#aaa342',
    950: '#000000',
  },
}
SCSS
$custom: #aaa342;
$custom-light: #c6be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa342",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 55.962,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.11857,
    "h": 105.2
  },
  "luminance": 0.35134
}

Semantic roles & 50–950 ramp

primary
#AAA342
secondary
#888CC0
accent
#5DD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA342

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

Preview Lab → · Contrast checker → · Palette generator →

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