#AAA62B#AAA62B

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

Color values

HEX#AAA62B
RGBrgb(170, 166, 43)
HSLhsl(58, 60%, 42%)
HSVhsv(58, 75%, 67%)
CMYKcmyk(0%, 2.4%, 74.7%, 33.3%)
CIE-LABlab(66.52, -12.79, 59.86)
CIE-LCHlch(66.52, 61.21, 102.06°)
OKLaboklab(70.69% -0.0416 0.1316)
OKLCHoklch(70.69% 0.138 107.5)
XYZxyz(30.6510, 35.9939, 7.6180)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA62B #2B2FAA
analogous
#AA672B #AAA62B #6FAA2B
triadic
#AAA62B #2BAAA6 #A62BAA
tetradic
#AAA62B #2BAA67 #2B2FAA #AA2B6F
square
#AAA62B #2BAA67 #2B2FAA #AA2B6F
split-complementary
#AAA62B #2B6FAA #672BAA
monochromatic
#484712 #79761F #AAA62B #CFCB43 #DCD874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA62B#FFFFFF#000000##000000
##AAA62B1.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)
#B49F11
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#B79B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa62b;
/* rgb */ color: rgb(170, 166, 43);
/* oklch */ color: oklch(70.7% 0.138 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c06e',
    500: '#aaa62b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa62b;
$custom-light: #c7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa62b",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 58.11,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70695,
    "c": 0.13797,
    "h": 107.5
  },
  "luminance": 0.35993
}

Semantic roles & 50–950 ramp

primary
#AAA62B
secondary
#6E70C3
accent
#4AE345
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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