#AAA02A#AAA02A

#AAA02A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.133 H 104.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AAA02A
RGBrgb(170, 160, 42)
HSLhsl(55, 60%, 42%)
HSVhsv(55, 75%, 67%)
CMYKcmyk(0%, 5.9%, 75.3%, 33.3%)
CIE-LABlab(64.85, -9.69, 58.64)
CIE-LCHlch(64.85, 59.44, 99.39°)
OKLaboklab(69.36% -0.033 0.1288)
OKLCHoklch(69.36% 0.133 104.4)
XYZxyz(29.5676, 33.8560, 7.1674)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA02A #2A34AA
analogous
#AA602A #AAA02A #74AA2A
triadic
#AAA02A #2AAAA0 #A02AAA
tetradic
#AAA02A #2AAA60 #2A34AA #AA2A74
square
#AAA02A #2AAA60 #2A34AA #AA2A74
split-complementary
#AAA02A #2A74AA #602AAA
monochromatic
#484412 #79721E #AAA02A #D0C541 #DCD472

Accessibility & contrast

On white

2.70
#AAA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AAA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA02A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA02A#FFFFFF#000000##000000
##AAA02A1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A12
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B79589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa02a;
/* rgb */ color: rgb(170, 160, 42);
/* oklch */ color: oklch(69.4% 0.133 104.4);
Tailwind
colors: {
  custom: {
    50: '#c7bb6d',
    500: '#aaa02a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa02a;
$custom-light: #c7bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa02a",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 55.313,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69365,
    "c": 0.13294,
    "h": 104.4
  },
  "luminance": 0.33855
}

Semantic roles & 50–950 ramp

primary
#AAA02A
secondary
#6C73C3
accent
#51E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AAA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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