#AAA02D#AAA02D

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

Color values

HEX#AAA02D
RGBrgb(170, 160, 45)
HSLhsl(55, 58%, 42%)
HSVhsv(55, 74%, 67%)
CMYKcmyk(0%, 5.9%, 73.5%, 33.3%)
CIE-LABlab(64.87, -9.56, 57.58)
CIE-LCHlch(64.87, 58.37, 99.42°)
OKLaboklab(69.38% -0.0323 0.1271)
OKLCHoklch(69.38% 0.131 104.3)
XYZxyz(29.6233, 33.8783, 7.4609)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA02D #2D37AA
analogous
#AA622D #AAA02D #76AA2D
triadic
#AAA02D #2DAAA0 #A02DAA
tetradic
#AAA02D #2DAA62 #2D37AA #AA2D76
square
#AAA02D #2DAA62 #2D37AA #AA2D76
split-complementary
#AAA02D #2D76AA #622DAA
monochromatic
#494513 #7A7220 #AAA02D #CEC346 #DBD377

Accessibility & contrast

On white

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

On black

7.78
#AAA02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA02D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA02D#FFFFFF#000000##000000
##AAA02D1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#B7958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa02d;
/* rgb */ color: rgb(170, 160, 45);
/* oklch */ color: oklch(69.4% 0.131 104.3);
Tailwind
colors: {
  custom: {
    50: '#c7bb6e',
    500: '#aaa02d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa02d;
$custom-light: #c7bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa02d",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 45
  },
  "hsl": {
    "h": 55.2,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69385,
    "c": 0.13116,
    "h": 104.3
  },
  "luminance": 0.33877
}

Semantic roles & 50–950 ramp

primary
#AAA02D
secondary
#7077C3
accent
#53E146
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AAA02D

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

Preview Lab → · Contrast checker → · Palette generator →

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