#AAA839#AAA839

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

Color values

HEX#AAA839
RGBrgb(170, 168, 57)
HSLhsl(59, 50%, 45%)
HSVhsv(59, 66%, 67%)
CMYKcmyk(0%, 1.2%, 66.5%, 33.3%)
CIE-LABlab(67.16, -13.11, 55.20)
CIE-LCHlch(67.16, 56.74, 103.36°)
OKLaboklab(71.24% -0.0411 0.1242)
OKLCHoklch(71.24% 0.131 108.3)
XYZxyz(31.3198, 36.8477, 9.3326)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA839 #393BAA
analogous
#AA7039 #AAA839 #74AA39
triadic
#AAA839 #39AAA8 #A839AA
tetradic
#AAA839 #39AA70 #393BAA #AA3974
square
#AAA839 #39AA70 #393BAA #AA3974
split-complementary
#AAA839 #3974AA #7039AA
monochromatic
#4E4D1A #7C7B2A #AAA839 #C7C559 #D7D587

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA839#FFFFFF#000000##000000
##AAA8391.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)
#B6A129
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#B69D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa839;
/* rgb */ color: rgb(170, 168, 57);
/* oklch */ color: oklch(71.2% 0.131 108.3);
Tailwind
colors: {
  custom: {
    50: '#c6c176',
    500: '#aaa839',
    950: '#000000',
  },
}
SCSS
$custom: #aaa839;
$custom-light: #c6c176;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa839",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 58.938,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71241,
    "c": 0.13082,
    "h": 108.3
  },
  "luminance": 0.36847
}

Semantic roles & 50–950 ramp

primary
#AAA839
secondary
#7E7FC1
accent
#51D94E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA839

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

Preview Lab → · Contrast checker → · Palette generator →

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