#AAA62D#AAA62D

#AAA62D is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.137 H 107.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AAA62D
RGBrgb(170, 166, 45)
HSLhsl(58, 58%, 42%)
HSVhsv(58, 74%, 67%)
CMYKcmyk(0%, 2.4%, 73.5%, 33.3%)
CIE-LABlab(66.53, -12.70, 59.17)
CIE-LCHlch(66.53, 60.52, 102.12°)
OKLaboklab(70.71% -0.0412 0.1305)
OKLCHoklch(70.71% 0.137 107.5)
XYZxyz(30.6886, 36.0090, 7.8160)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA62D #2D31AA
analogous
#AA682D #AAA62D #70AA2D
triadic
#AAA62D #2DAAA6 #A62DAA
tetradic
#AAA62D #2DAA68 #2D31AA #AA2D70
square
#AAA62D #2DAA68 #2D31AA #AA2D70
split-complementary
#AAA62D #2D70AA #682DAA
monochromatic
#494713 #7A7720 #AAA62D #CECA46 #DBD877

Accessibility & contrast

On white

2.56
#AAA62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#AAA62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA62D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA62D#FFFFFF#000000##000000
##AAA62D1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa62d;
/* rgb */ color: rgb(170, 166, 45);
/* oklch */ color: oklch(70.7% 0.137 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c06f',
    500: '#aaa62d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa62d;
$custom-light: #c7c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa62d",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 58.08,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70708,
    "c": 0.13681,
    "h": 107.5
  },
  "luminance": 0.36008
}

Semantic roles & 50–950 ramp

primary
#AAA62D
secondary
#7073C3
accent
#4BE146
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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