#AAB427#AAB427

#AAB427 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.8% C 0.154 H 113.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AAB427
RGBrgb(170, 180, 39)
HSLhsl(64, 64%, 43%)
HSVhsv(64, 78%, 71%)
CMYKcmyk(5.6%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.41, -20.10, 64.71)
CIE-LCHlch(70.41, 67.76, 107.25°)
OKLaboklab(73.8% -0.0623 0.1412)
OKLCHoklch(73.8% 0.154 113.8)
XYZxyz(33.2661, 41.3357, 8.1453)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB427 #3127B4
analogous
#B47727 #AAB427 #64B427
triadic
#AAB427 #27AAB4 #B427AA
tetradic
#AAB427 #27B477 #3127B4 #B42764
square
#AAB427 #27B477 #3127B4 #B42764
split-complementary
#AAB427 #2764B4 #7727B4
monochromatic
#4B4F11 #7A821C #AAB427 #CCD642 #D9E174

Accessibility & contrast

On white

2.27
#AAB427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AAB427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB427
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB427#FFFFFF#000000##000000
##AAB4271.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#B6A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab427;
/* rgb */ color: rgb(170, 180, 39);
/* oklch */ color: oklch(73.8% 0.154 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7ca6e',
    500: '#aab427',
    950: '#000000',
  },
}
SCSS
$custom: #aab427;
$custom-light: #c7ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab427",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 64.255,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73804,
    "c": 0.15428,
    "h": 113.8
  },
  "luminance": 0.41335
}

Semantic roles & 50–950 ramp

primary
#AAB427
secondary
#756FC8
accent
#40E74C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB427

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

Preview Lab → · Contrast checker → · Palette generator →

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