#AAA837#AAA837

#AAA837 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.132 H 108.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AAA837
RGBrgb(170, 168, 55)
HSLhsl(59, 51%, 44%)
HSVhsv(59, 68%, 67%)
CMYKcmyk(0%, 1.2%, 67.6%, 33.3%)
CIE-LABlab(67.15, -13.22, 56.00)
CIE-LCHlch(67.15, 57.54, 103.29°)
OKLaboklab(71.22% -0.0416 0.1255)
OKLCHoklch(71.22% 0.132 108.3)
XYZxyz(31.2709, 36.8281, 9.0750)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA837 #3739AA
analogous
#AA6F37 #AAA837 #72AA37
triadic
#AAA837 #37AAA8 #A837AA
tetradic
#AAA837 #37AA6F #3739AA #AA3772
square
#AAA837 #37AA6F #3739AA #AA3772
split-complementary
#AAA837 #3772AA #6F37AA
monochromatic
#4E4D19 #7C7A28 #AAA837 #C8C656 #D7D684

Accessibility & contrast

On white

2.51
#AAA837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AAA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA837
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA837#FFFFFF#000000##000000
##AAA8371.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A126
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#B69D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa837;
/* rgb */ color: rgb(170, 168, 55);
/* oklch */ color: oklch(71.2% 0.132 108.3);
Tailwind
colors: {
  custom: {
    50: '#c6c174',
    500: '#aaa837',
    950: '#000000',
  },
}
SCSS
$custom: #aaa837;
$custom-light: #c6c174;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa837",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 58.957,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71224,
    "c": 0.13226,
    "h": 108.3
  },
  "luminance": 0.36827
}

Semantic roles & 50–950 ramp

primary
#AAA837
secondary
#7C7DC1
accent
#50DB4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA837

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

Preview Lab → · Contrast checker → · Palette generator →

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