#AAA71D#AAA71D

#AAA71D is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.146 H 108.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AAA71D
RGBrgb(170, 167, 29)
HSLhsl(59, 71%, 39%)
HSVhsv(59, 83%, 67%)
CMYKcmyk(0%, 1.8%, 82.9%, 33.3%)
CIE-LABlab(66.73, -13.83, 64.27)
CIE-LCHlch(66.73, 65.74, 102.14°)
OKLaboklab(70.84% -0.0456 0.1384)
OKLCHoklch(70.84% 0.146 108.2)
XYZxyz(30.6193, 36.2732, 6.5507)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA71D #1D20AA
analogous
#AA611D #AAA71D #67AA1D
triadic
#AAA71D #1DAAA7 #A71DAA
tetradic
#AAA71D #1DAA61 #1D20AA #AA1D67
square
#AAA71D #1DAA61 #1D20AA #AA1D67
split-complementary
#AAA71D #1D67AA #611DAA
monochromatic
#41400B #767414 #AAA71D #DBD72A #E4E15E

Accessibility & contrast

On white

2.54
#AAA71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AAA71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA71D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA71D#FFFFFF#000000##000000
##AAA71D1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B8A42B
Tritanopia (blue-blind)
#B79B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa71d;
/* rgb */ color: rgb(170, 167, 29);
/* oklch */ color: oklch(70.8% 0.146 108.2);
Tailwind
colors: {
  custom: {
    50: '#c7c068',
    500: '#aaa71d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa71d;
$custom-light: #c7c068;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa71d",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 58.723,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70844,
    "c": 0.14572,
    "h": 108.2
  },
  "luminance": 0.36272
}

Semantic roles & 50–950 ramp

primary
#AAA71D
secondary
#5B5DC8
accent
#3EEE3A
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA71D

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

Preview Lab → · Contrast checker → · Palette generator →

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