#AABA27#AABA27

#AABA27 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.2% C 0.161 H 116.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#AABA27
RGBrgb(170, 186, 39)
HSLhsl(67, 65%, 44%)
HSVhsv(67, 79%, 73%)
CMYKcmyk(8.6%, 0%, 79%, 27.1%)
CIE-LABlab(72.10, -23.07, 66.23)
CIE-LCHlch(72.10, 70.13, 109.20°)
OKLaboklab(75.16% -0.0705 0.1444)
OKLCHoklch(75.16% 0.161 116)
XYZxyz(34.5036, 43.8109, 8.5578)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA27 #3727BA
analogous
#BA8127 #AABA27 #60BA27
triadic
#AABA27 #27AABA #BA27AA
tetradic
#AABA27 #27BA81 #3727BA #BA2760
square
#AABA27 #27BA81 #3727BA #BA2760
split-complementary
#AABA27 #2760BA #8127BA
monochromatic
#4E5512 #7C871C #AABA27 #C8D846 #D7E379

Accessibility & contrast

On white

2.15
#AABA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#AABA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA27
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA27#FFFFFF#000000##000000
##AABA271.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#B5AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba27;
/* rgb */ color: rgb(170, 186, 39);
/* oklch */ color: oklch(75.2% 0.161 116.0);
Tailwind
colors: {
  custom: {
    50: '#c7ce6f',
    500: '#aaba27',
    950: '#000000',
  },
}
SCSS
$custom: #aaba27;
$custom-light: #c7ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba27",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 66.531,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75162,
    "c": 0.16067,
    "h": 116
  },
  "luminance": 0.4381
}

Semantic roles & 50–950 ramp

primary
#AABA27
secondary
#7C72CB
accent
#40E852
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AABA27

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

Preview Lab → · Contrast checker → · Palette generator →

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