#AAB72F#AAB72F

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

Color values

HEX#AAB72F
RGBrgb(170, 183, 47)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 74%, 72%)
CMYKcmyk(7.1%, 0%, 74.3%, 28.2%)
CIE-LABlab(71.30, -21.25, 62.99)
CIE-LCHlch(71.30, 66.48, 108.64°)
OKLaboklab(74.53% -0.0648 0.1389)
OKLCHoklch(74.53% 0.153 115)
XYZxyz(34.0251, 42.6189, 9.1226)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB72F #3C2FB7
analogous
#B7802F #AAB72F #66B72F
triadic
#AAB72F #2FAAB7 #B72FAA
tetradic
#AAB72F #2FB780 #3C2FB7 #B72F66
square
#AAB72F #2FB780 #3C2FB7 #B72F66
split-complementary
#AAB72F #2F66B7 #802FB7
monochromatic
#505616 #7D8622 #AAB72F #C6D251 #D6DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB72F#FFFFFF#000000##000000
##AAB72F1.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)
#C4AE11
Deuteranopia (green-blind)
#C3B03B
Tritanopia (blue-blind)
#B5AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab72f;
/* rgb */ color: rgb(170, 183, 47);
/* oklch */ color: oklch(74.5% 0.153 115.0);
Tailwind
colors: {
  custom: {
    50: '#c7cc72',
    500: '#aab72f',
    950: '#000000',
  },
}
SCSS
$custom: #aab72f;
$custom-light: #c7cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#aab72f",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 65.735,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74527,
    "c": 0.15329,
    "h": 115
  },
  "luminance": 0.42618
}

Semantic roles & 50–950 ramp

primary
#AAB72F
secondary
#817AC8
accent
#45E254
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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