#AAB627#AAB627

#AAB627 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.156 H 114.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AAB627
RGBrgb(170, 182, 39)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 79%, 71%)
CMYKcmyk(6.6%, 0%, 78.6%, 28.6%)
CIE-LABlab(70.97, -21.09, 65.22)
CIE-LCHlch(70.97, 68.54, 107.92°)
OKLaboklab(74.26% -0.065 0.1422)
OKLCHoklch(74.26% 0.156 114.6)
XYZxyz(33.6727, 42.1491, 8.2808)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB627 #3327B6
analogous
#B67A27 #AAB627 #62B627
triadic
#AAB627 #27AAB6 #B627AA
tetradic
#AAB627 #27B67A #3327B6 #B62762
square
#AAB627 #27B67A #3327B6 #B62762
split-complementary
#AAB627 #2762B6 #7A27B6
monochromatic
#4C5111 #7B841C #AAB627 #CAD743 #D9E276

Accessibility & contrast

On white

2.23
#AAB627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AAB627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB627
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB627#FFFFFF#000000##000000
##AAB6271.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#B6AB9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab627;
/* rgb */ color: rgb(170, 182, 39);
/* oklch */ color: oklch(74.3% 0.156 114.6);
Tailwind
colors: {
  custom: {
    50: '#c7cb6e',
    500: '#aab627',
    950: '#000000',
  },
}
SCSS
$custom: #aab627;
$custom-light: #c7cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab627",
  "rgb": {
    "r": 170,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 65.035,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74256,
    "c": 0.15639,
    "h": 114.6
  },
  "luminance": 0.42148
}

Semantic roles & 50–950 ramp

primary
#AAB627
secondary
#7770C9
accent
#40E84E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB627

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

Preview Lab → · Contrast checker → · Palette generator →

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