#AAB336#AAB336

#AAB336 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.145 H 113.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AAB336
RGBrgb(170, 179, 54)
HSLhsl(64, 54%, 46%)
HSVhsv(64, 70%, 70%)
CMYKcmyk(5%, 0%, 69.8%, 29.8%)
CIE-LABlab(70.21, -18.90, 59.46)
CIE-LCHlch(70.21, 62.39, 107.63°)
OKLaboklab(73.67% -0.0576 0.1327)
OKLCHoklch(73.67% 0.145 113.5)
XYZxyz(33.3645, 41.0533, 9.6558)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB336 #3F36B3
analogous
#B37D36 #AAB336 #6BB336
triadic
#AAB336 #36AAB3 #B336AA
tetradic
#AAB336 #36B37D #3F36B3 #B3366B
square
#AAB336 #36B37D #3F36B3 #B3366B
split-complementary
#AAB336 #366BB3 #7D36B3
monochromatic
#51551A #7D8428 #AAB336 #C5CD59 #D5DB88

Accessibility & contrast

On white

2.28
#AAB336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#AAB336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB336
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB336#FFFFFF#000000##000000
##AAB3361.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA21
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#B5A89A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab336;
/* rgb */ color: rgb(170, 179, 54);
/* oklch */ color: oklch(73.7% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#c6c975',
    500: '#aab336',
    950: '#000000',
  },
}
SCSS
$custom: #aab336;
$custom-light: #c6c975;
$custom-dark: #000000;
JSON
{
  "hex": "#aab336",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 64.32,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73673,
    "c": 0.14463,
    "h": 113.5
  },
  "luminance": 0.41053
}

Semantic roles & 50–950 ramp

primary
#AAB336
secondary
#8580C5
accent
#4BDD55
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB336

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

Preview Lab → · Contrast checker → · Palette generator →

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