#AAA540#AAA540

#AAA540 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.122 H 106.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AAA540
RGBrgb(170, 165, 64)
HSLhsl(57, 45%, 46%)
HSVhsv(57, 62%, 67%)
CMYKcmyk(0%, 2.9%, 62.4%, 33.3%)
CIE-LABlab(66.39, -11.10, 51.41)
CIE-LCHlch(66.39, 52.60, 102.18°)
OKLaboklab(70.64% -0.0346 0.1173)
OKLCHoklch(70.64% 0.122 106.5)
XYZxyz(30.9592, 35.8275, 10.1341)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA540 #4045AA
analogous
#AA7040 #AAA540 #7AAA40
triadic
#AAA540 #40AAA5 #A540AA
tetradic
#AAA540 #40AA70 #4045AA #AA407A
square
#AAA540 #40AA70 #4045AA #AA407A
split-complementary
#AAA540 #407AAA #7040AA
monochromatic
#514F1F #7E7A2F #AAA540 #C4C063 #D5D28F

Accessibility & contrast

On white

2.57
#AAA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AAA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA540
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA540#FFFFFF#000000##000000
##AAA5401.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B5A346
Tritanopia (blue-blind)
#B69B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa540;
/* rgb */ color: rgb(170, 165, 64);
/* oklch */ color: oklch(70.6% 0.122 106.5);
Tailwind
colors: {
  custom: {
    50: '#c6bf79',
    500: '#aaa540',
    950: '#000000',
  },
}
SCSS
$custom: #aaa540;
$custom-light: #c6bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa540",
  "rgb": {
    "r": 170,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 57.17,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.12228,
    "h": 106.5
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#AAA540
secondary
#8688C0
accent
#59D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA540

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

Preview Lab → · Contrast checker → · Palette generator →

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