#AAB72A#AAB72A

#AAB72A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.156 H 115.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#AAB72A
RGBrgb(170, 183, 42)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 72%)
CMYKcmyk(7.1%, 0%, 77%, 28.2%)
CIE-LABlab(71.27, -21.47, 64.58)
CIE-LCHlch(71.27, 68.06, 108.39°)
OKLaboklab(74.5% -0.0658 0.1414)
OKLCHoklch(74.5% 0.156 115)
XYZxyz(33.9300, 42.5808, 8.6216)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB72A #372AB7
analogous
#B77E2A #AAB72A #64B72A
triadic
#AAB72A #2AAAB7 #B72AAA
tetradic
#AAB72A #2AB77E #372AB7 #B72A64
square
#AAB72A #2AB77E #372AB7 #B72A64
split-complementary
#AAB72A #2A64B7 #7E2AB7
monochromatic
#4E5313 #7C851F #AAB72A #C8D549 #D7E17B

Accessibility & contrast

On white

2.21
#AAB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#AAB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB72A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB72A#FFFFFF#000000##000000
##AAB72A1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B5AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab72a;
/* rgb */ color: rgb(170, 183, 42);
/* oklch */ color: oklch(74.5% 0.156 115.0);
Tailwind
colors: {
  custom: {
    50: '#c7cc70',
    500: '#aab72a',
    950: '#000000',
  },
}
SCSS
$custom: #aab72a;
$custom-light: #c7cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab72a",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 65.532,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74498,
    "c": 0.15598,
    "h": 115
  },
  "luminance": 0.4258
}

Semantic roles & 50–950 ramp

primary
#AAB72A
secondary
#7C74C9
accent
#42E651
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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