#AAAA71#AAAA71

#AAAA71 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.077 H 108.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AAAA71
RGBrgb(170, 170, 113)
HSLhsl(60, 25%, 55%)
HSVhsv(60, 34%, 67%)
CMYKcmyk(0%, 0%, 33.5%, 33.3%)
CIE-LABlab(68.38, -9.00, 29.45)
CIE-LCHlch(68.38, 30.79, 106.99°)
OKLaboklab(72.42% -0.0239 0.0729)
OKLCHoklch(72.42% 0.077 108.2)
XYZxyz(33.9332, 38.4883, 21.2610)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA71 #7171AA
analogous
#AA8D71 #AAAA71 #8DAA71
triadic
#AAAA71 #71AAAA #AA71AA
tetradic
#AAAA71 #71AA8D #7171AA #AA718D
square
#AAAA71 #71AA8D #7171AA #AA718D
split-complementary
#AAAA71 #718DAA #8D71AA
monochromatic
#64643C #8B8B53 #AAAA71 #C1C197 #D8D8BE

Accessibility & contrast

On white

2.41
#AAAA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AAAA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA71
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA71#FFFFFF#000000##000000
##AAAA711.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56D
Deuteranopia (green-blind)
#B4A873
Tritanopia (blue-blind)
#B2A39B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aaaa71;
/* rgb */ color: rgb(170, 170, 113);
/* oklch */ color: oklch(72.4% 0.077 108.2);
Tailwind
colors: {
  custom: {
    50: '#c4c39a',
    500: '#aaaa71',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa71;
$custom-light: #c4c39a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa71",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.07668,
    "h": 108.2
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

primary
#AAAA71
secondary
#B0B0C7
accent
#66C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAAA71

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

Preview Lab → · Contrast checker → · Palette generator →

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