#AAA62E#AAA62E

#AAA62E 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#AAA62E
RGBrgb(170, 166, 46)
HSLhsl(58, 57%, 42%)
HSVhsv(58, 73%, 67%)
CMYKcmyk(0%, 2.4%, 72.9%, 33.3%)
CIE-LABlab(66.53, -12.65, 58.82)
CIE-LCHlch(66.53, 60.16, 102.14°)
OKLaboklab(70.71% -0.0409 0.1299)
OKLCHoklch(70.71% 0.136 107.5)
XYZxyz(30.7081, 36.0168, 7.9186)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA62E #2E32AA
analogous
#AA682E #AAA62E #70AA2E
triadic
#AAA62E #2EAAA6 #A62EAA
tetradic
#AAA62E #2EAA68 #2E32AA #AA2E70
square
#AAA62E #2EAA68 #2E32AA #AA2E70
split-complementary
#AAA62E #2E70AA #682EAA
monochromatic
#4A4814 #7A7721 #AAA62E #CDC948 #DAD778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA62E#FFFFFF#000000##000000
##AAA62E1.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)
#B49F17
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#B69B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa62e;
/* rgb */ color: rgb(170, 166, 46);
/* oklch */ color: oklch(70.7% 0.136 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aaa62e',
    950: '#000000',
  },
}
SCSS
$custom: #aaa62e;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa62e",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 58.065,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70715,
    "c": 0.13621,
    "h": 107.5
  },
  "luminance": 0.36016
}

Semantic roles & 50–950 ramp

primary
#AAA62E
secondary
#7174C3
accent
#4CE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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