#AAA541#AAA541

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

Color values

HEX#AAA541
RGBrgb(170, 165, 65)
HSLhsl(57, 45%, 46%)
HSVhsv(57, 62%, 67%)
CMYKcmyk(0%, 2.9%, 61.8%, 33.3%)
CIE-LABlab(66.40, -11.03, 50.98)
CIE-LCHlch(66.40, 52.16, 102.21°)
OKLaboklab(70.65% -0.0343 0.1165)
OKLCHoklch(70.65% 0.121 106.4)
XYZxyz(30.9879, 35.8390, 10.2853)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA541 #4146AA
analogous
#AA7041 #AAA541 #7AAA41
triadic
#AAA541 #41AAA5 #A541AA
tetradic
#AAA541 #41AA70 #4146AA #AA417A
square
#AAA541 #41AA70 #4146AA #AA417A
split-complementary
#AAA541 #417AAA #7041AA
monochromatic
#514F1F #7E7A30 #AAA541 #C4BF64 #D5D291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA541#FFFFFF#000000##000000
##AAA5411.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)
#B29F35
Deuteranopia (green-blind)
#B5A347
Tritanopia (blue-blind)
#B69B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa541;
/* rgb */ color: rgb(170, 165, 65);
/* oklch */ color: oklch(70.7% 0.121 106.4);
Tailwind
colors: {
  custom: {
    50: '#c6bf7a',
    500: '#aaa541',
    950: '#000000',
  },
}
SCSS
$custom: #aaa541;
$custom-light: #c6bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa541",
  "rgb": {
    "r": 170,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 57.143,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70651,
    "c": 0.12145,
    "h": 106.4
  },
  "luminance": 0.35838
}

Semantic roles & 50–950 ramp

primary
#AAA541
secondary
#8789C0
accent
#5AD453
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA541

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

Preview Lab → · Contrast checker → · Palette generator →

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