#AAB727#AAB727

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

Color values

HEX#AAB727
RGBrgb(170, 183, 39)
HSLhsl(65, 65%, 44%)
HSVhsv(65, 79%, 72%)
CMYKcmyk(7.1%, 0%, 78.7%, 28.2%)
CIE-LABlab(71.26, -21.59, 65.47)
CIE-LCHlch(71.26, 68.94, 108.25°)
OKLaboklab(74.48% -0.0664 0.1428)
OKLCHoklch(74.48% 0.157 114.9)
XYZxyz(33.8783, 42.5601, 8.3493)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB727 #3427B7
analogous
#B77C27 #AAB727 #62B727
triadic
#AAB727 #27AAB7 #B727AA
tetradic
#AAB727 #27B77C #3427B7 #B72762
square
#AAB727 #27B77C #3427B7 #B72762
split-complementary
#AAB727 #2762B7 #7C27B7
monochromatic
#4C5211 #7B851C #AAB727 #CAD744 #D8E276

Accessibility & contrast

On white

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

On black

9.51
#AAB727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB727
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB727#FFFFFF#000000##000000
##AAB7271.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab727;
/* rgb */ color: rgb(170, 183, 39);
/* oklch */ color: oklch(74.5% 0.157 114.9);
Tailwind
colors: {
  custom: {
    50: '#c7cc6e',
    500: '#aab727',
    950: '#000000',
  },
}
SCSS
$custom: #aab727;
$custom-light: #c7cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab727",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 39
  },
  "hsl": {
    "h": 65.417,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74482,
    "c": 0.15745,
    "h": 114.9
  },
  "luminance": 0.4256
}

Semantic roles & 50–950 ramp

primary
#AAB727
secondary
#7870C9
accent
#40E84F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB727

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

Preview Lab → · Contrast checker → · Palette generator →

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