#AAA040#AAA040

#AAA040 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.117 H 103.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AAA040
RGBrgb(170, 160, 64)
HSLhsl(54, 45%, 46%)
HSVhsv(54, 62%, 67%)
CMYKcmyk(0%, 5.9%, 62.4%, 33.3%)
CIE-LABlab(65.01, -8.46, 49.92)
CIE-LCHlch(65.01, 50.63, 99.62°)
OKLaboklab(69.55% -0.0271 0.1141)
OKLCHoklch(69.55% 0.117 103.4)
XYZxyz(30.0749, 34.0589, 9.8393)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA040 #404AAA
analogous
#AA6B40 #AAA040 #7FAA40
triadic
#AAA040 #40AAA0 #A040AA
tetradic
#AAA040 #40AA6B #404AAA #AA407F
square
#AAA040 #40AA6B #404AAA #AA407F
split-complementary
#AAA040 #407FAA #6B40AA
monochromatic
#514C1F #7E762F #AAA040 #C4BB63 #D5CE8F

Accessibility & contrast

On white

2.69
#AAA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AAA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA040
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA040#FFFFFF#000000##000000
##AAA0401.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B1A045
Tritanopia (blue-blind)
#B6968C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa040;
/* rgb */ color: rgb(170, 160, 64);
/* oklch */ color: oklch(69.5% 0.117 103.4);
Tailwind
colors: {
  custom: {
    50: '#c6bb79',
    500: '#aaa040',
    950: '#000000',
  },
}
SCSS
$custom: #aaa040;
$custom-light: #c6bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa040",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 54.34,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69545,
    "c": 0.11729,
    "h": 103.4
  },
  "luminance": 0.34058
}

Semantic roles & 50–950 ramp

primary
#AAA040
secondary
#868BC0
accent
#5FD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AAA040

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

Preview Lab → · Contrast checker → · Palette generator →

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