#AAB72B#AAB72B

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

Color values

HEX#AAB72B
RGBrgb(170, 183, 43)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 77%, 72%)
CMYKcmyk(7.1%, 0%, 76.5%, 28.2%)
CIE-LABlab(71.27, -21.43, 64.27)
CIE-LCHlch(71.27, 67.75, 108.44°)
OKLaboklab(74.5% -0.0656 0.1409)
OKLCHoklch(74.5% 0.155 115)
XYZxyz(33.9481, 42.5880, 8.7170)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB72B #382BB7
analogous
#B77E2B #AAB72B #64B72B
triadic
#AAB72B #2BAAB7 #B72BAA
tetradic
#AAB72B #2BB77E #382BB7 #B72B64
square
#AAB72B #2BB77E #382BB7 #B72B64
split-complementary
#AAB72B #2B64B7 #7E2BB7
monochromatic
#4E5414 #7C851F #AAB72B #C8D54B #D7E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB72B#FFFFFF#000000##000000
##AAB72B1.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)
#C4AE04
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#B5AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab72b;
/* rgb */ color: rgb(170, 183, 43);
/* oklch */ color: oklch(74.5% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c7cc70',
    500: '#aab72b',
    950: '#000000',
  },
}
SCSS
$custom: #aab72b;
$custom-light: #c7cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab72b",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 65.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74503,
    "c": 0.15546,
    "h": 115
  },
  "luminance": 0.42587
}

Semantic roles & 50–950 ramp

primary
#AAB72B
secondary
#7D75C9
accent
#43E552
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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