#AAA62C#AAA62C

#AAA62C 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#AAA62C
RGBrgb(170, 166, 44)
HSLhsl(58, 59%, 42%)
HSVhsv(58, 74%, 67%)
CMYKcmyk(0%, 2.4%, 74.1%, 33.3%)
CIE-LABlab(66.52, -12.75, 59.51)
CIE-LCHlch(66.52, 60.86, 102.09°)
OKLaboklab(70.7% -0.0414 0.131)
OKLCHoklch(70.7% 0.137 107.5)
XYZxyz(30.6696, 36.0014, 7.7158)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA62C #2C30AA
analogous
#AA672C #AAA62C #6FAA2C
triadic
#AAA62C #2CAAA6 #A62CAA
tetradic
#AAA62C #2CAA67 #2C30AA #AA2C6F
square
#AAA62C #2CAA67 #2C30AA #AA2C6F
split-complementary
#AAA62C #2C6FAA #672CAA
monochromatic
#494713 #79771F #AAA62C #CFCA44 #DBD875

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #aaa62c;
/* rgb */ color: rgb(170, 166, 44);
/* oklch */ color: oklch(70.7% 0.137 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c06f',
    500: '#aaa62c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa62c;
$custom-light: #c7c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa62c",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 58.095,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.1374,
    "h": 107.5
  },
  "luminance": 0.36
}

Semantic roles & 50–950 ramp

primary
#AAA62C
secondary
#6F71C3
accent
#4BE246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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