#AAA02E#AAA02E

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

Color values

HEX#AAA02E
RGBrgb(170, 160, 46)
HSLhsl(55, 57%, 42%)
HSVhsv(55, 73%, 67%)
CMYKcmyk(0%, 5.9%, 72.9%, 33.3%)
CIE-LABlab(64.87, -9.51, 57.22)
CIE-LCHlch(64.87, 58.00, 99.44°)
OKLaboklab(69.39% -0.0321 0.1265)
OKLCHoklch(69.39% 0.131 104.2)
XYZxyz(29.6428, 33.8861, 7.5635)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA02E #2E38AA
analogous
#AA622E #AAA02E #76AA2E
triadic
#AAA02E #2EAAA0 #A02EAA
tetradic
#AAA02E #2EAA62 #2E38AA #AA2E76
square
#AAA02E #2EAA62 #2E38AA #AA2E76
split-complementary
#AAA02E #2E76AA #622EAA
monochromatic
#4A4514 #7A7321 #AAA02E #CDC348 #DAD378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA02E#FFFFFF#000000##000000
##AAA02E1.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)
#AE9A1A
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B7958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa02e;
/* rgb */ color: rgb(170, 160, 46);
/* oklch */ color: oklch(69.4% 0.131 104.2);
Tailwind
colors: {
  custom: {
    50: '#c7bb6f',
    500: '#aaa02e',
    950: '#000000',
  },
}
SCSS
$custom: #aaa02e;
$custom-light: #c7bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa02e",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 55.161,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69392,
    "c": 0.13054,
    "h": 104.2
  },
  "luminance": 0.33885
}

Semantic roles & 50–950 ramp

primary
#AAA02E
secondary
#7178C3
accent
#54E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AAA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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