#AAA02B#AAA02B

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

Color values

HEX#AAA02B
RGBrgb(170, 160, 43)
HSLhsl(55, 60%, 42%)
HSVhsv(55, 75%, 67%)
CMYKcmyk(0%, 5.9%, 74.7%, 33.3%)
CIE-LABlab(64.85, -9.65, 58.29)
CIE-LCHlch(64.85, 59.09, 99.40°)
OKLaboklab(69.37% -0.0328 0.1282)
OKLCHoklch(69.37% 0.132 104.3)
XYZxyz(29.5857, 33.8633, 7.2629)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA02B #2B35AA
analogous
#AA612B #AAA02B #74AA2B
triadic
#AAA02B #2BAAA0 #A02BAA
tetradic
#AAA02B #2BAA61 #2B35AA #AA2B74
square
#AAA02B #2BAA61 #2B35AA #AA2B74
split-complementary
#AAA02B #2B74AA #612BAA
monochromatic
#484412 #79721F #AAA02B #CFC443 #DCD474

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA02B#FFFFFF#000000##000000
##AAA02B1.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)
#AF9A14
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#B7958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa02b;
/* rgb */ color: rgb(170, 160, 43);
/* oklch */ color: oklch(69.4% 0.132 104.3);
Tailwind
colors: {
  custom: {
    50: '#c7bb6d',
    500: '#aaa02b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa02b;
$custom-light: #c7bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa02b",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 55.276,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69371,
    "c": 0.13237,
    "h": 104.3
  },
  "luminance": 0.33862
}

Semantic roles & 50–950 ramp

primary
#AAA02B
secondary
#6E74C3
accent
#51E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AAA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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