#AAAA42#AAAA42

#AAAA42 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.8% C 0.126 H 109.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AAAA42
RGBrgb(170, 170, 66)
HSLhsl(60, 44%, 46%)
HSVhsv(60, 61%, 67%)
CMYKcmyk(0%, 0%, 61.2%, 33.3%)
CIE-LABlab(67.79, -13.56, 52.04)
CIE-LCHlch(67.79, 53.78, 104.61°)
OKLaboklab(71.77% -0.0414 0.1189)
OKLCHoklch(71.77% 0.126 109.2)
XYZxyz(31.9366, 37.6897, 10.7457)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA42 #4242AA
analogous
#AA7642 #AAAA42 #76AA42
triadic
#AAAA42 #42AAAA #AA42AA
tetradic
#AAAA42 #42AA76 #4242AA #AA4276
square
#AAAA42 #42AA76 #4242AA #AA4276
split-complementary
#AAAA42 #4276AA #7642AA
monochromatic
#525220 #7E7E31 #AAAA42 #C3C366 #D5D592

Accessibility & contrast

On white

2.46
#AAAA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AAAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA42
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA42#FFFFFF#000000##000000
##AAAA421.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A336
Deuteranopia (green-blind)
#B8A748
Tritanopia (blue-blind)
#B5A094
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa42;
/* rgb */ color: rgb(170, 170, 66);
/* oklch */ color: oklch(71.8% 0.126 109.2);
Tailwind
colors: {
  custom: {
    50: '#c6c37b',
    500: '#aaaa42',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa42;
$custom-light: #c6c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa42",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71766,
    "c": 0.1259,
    "h": 109.2
  },
  "luminance": 0.37689
}

Semantic roles & 50–950 ramp

primary
#AAAA42
secondary
#8888C0
accent
#54D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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