#AAA62F#AAA62F

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

Color values

HEX#AAA62F
RGBrgb(170, 166, 47)
HSLhsl(58, 57%, 43%)
HSVhsv(58, 72%, 67%)
CMYKcmyk(0%, 2.4%, 72.4%, 33.3%)
CIE-LABlab(66.54, -12.61, 58.46)
CIE-LCHlch(66.54, 59.80, 102.17°)
OKLaboklab(70.72% -0.0407 0.1293)
OKLCHoklch(70.72% 0.136 107.5)
XYZxyz(30.7280, 36.0248, 8.0236)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA62F #2F33AA
analogous
#AA692F #AAA62F #70AA2F
triadic
#AAA62F #2FAAA6 #A62FAA
tetradic
#AAA62F #2FAA69 #2F33AA #AA2F70
square
#AAA62F #2FAA69 #2F33AA #AA2F70
split-complementary
#AAA62F #2F70AA #692FAA
monochromatic
#4A4814 #7A7722 #AAA62F #CDC949 #DAD779

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA62F#FFFFFF#000000##000000
##AAA62F1.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)
#B49F19
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#B69B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa62f;
/* rgb */ color: rgb(170, 166, 47);
/* oklch */ color: oklch(70.7% 0.136 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aaa62f',
    950: '#000000',
  },
}
SCSS
$custom: #aaa62f;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa62f",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 58.049,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70721,
    "c": 0.13559,
    "h": 107.5
  },
  "luminance": 0.36024
}

Semantic roles & 50–950 ramp

primary
#AAA62F
secondary
#7275C2
accent
#4DE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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