#AAB827#AAB827

#AAB827 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.159 H 115.3°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#AAB827
RGBrgb(170, 184, 39)
HSLhsl(66, 65%, 44%)
HSVhsv(66, 79%, 72%)
CMYKcmyk(7.6%, 0%, 78.8%, 27.8%)
CIE-LABlab(71.54, -22.08, 65.72)
CIE-LCHlch(71.54, 69.34, 108.57°)
OKLaboklab(74.71% -0.0678 0.1433)
OKLCHoklch(74.71% 0.159 115.3)
XYZxyz(34.0853, 42.9741, 8.4183)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB827 #3527B8
analogous
#B87D27 #AAB827 #61B827
triadic
#AAB827 #27AAB8 #B827AA
tetradic
#AAB827 #27B87D #3527B8 #B82761
square
#AAB827 #27B87D #3527B8 #B82761
split-complementary
#AAB827 #2761B8 #7D27B8
monochromatic
#4D5312 #7B861C #AAB827 #C9D845 #D8E277

Accessibility & contrast

On white

2.19
#AAB827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#AAB827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB827
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB827#FFFFFF#000000##000000
##AAB8271.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C5B035
Tritanopia (blue-blind)
#B5AD9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab827;
/* rgb */ color: rgb(170, 184, 39);
/* oklch */ color: oklch(74.7% 0.159 115.3);
Tailwind
colors: {
  custom: {
    50: '#c7cd6e',
    500: '#aab827',
    950: '#000000',
  },
}
SCSS
$custom: #aab827;
$custom-light: #c7cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab827",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 65.793,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74708,
    "c": 0.15852,
    "h": 115.3
  },
  "luminance": 0.42974
}

Semantic roles & 50–950 ramp

primary
#AAB827
secondary
#7A71CA
accent
#40E850
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB827

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

Preview Lab → · Contrast checker → · Palette generator →

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