#AAB252#AAB252

#AAB252 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.121 H 113.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#AAB252
RGBrgb(170, 178, 82)
HSLhsl(65, 38%, 51%)
HSVhsv(65, 54%, 70%)
CMYKcmyk(4.5%, 0%, 53.9%, 30.2%)
CIE-LABlab(70.17, -16.43, 47.39)
CIE-LCHlch(70.17, 50.15, 109.12°)
OKLaboklab(73.72% -0.0478 0.1109)
OKLCHoklch(73.72% 0.121 113.3)
XYZxyz(34.0216, 40.9966, 14.1019)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB252 #5A52B2
analogous
#B28A52 #AAB252 #7AB252
triadic
#AAB252 #52AAB2 #B252AA
tetradic
#AAB252 #52B28A #5A52B2 #B2527A
square
#AAB252 #52B28A #5A52B2 #B2527A
split-complementary
#AAB252 #527AB2 #8A52B2
monochromatic
#5B5F2A #838A3D #AAB252 #BFC57C #D4D8A7

Accessibility & contrast

On white

2.28
#AAB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#AAB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB252
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB252#FFFFFF#000000##000000
##AAB2521.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA49
Deuteranopia (green-blind)
#BDAD57
Tritanopia (blue-blind)
#B4A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab252;
/* rgb */ color: rgb(170, 178, 82);
/* oklch */ color: oklch(73.7% 0.121 113.3);
Tailwind
colors: {
  custom: {
    50: '#c5c886',
    500: '#aab252',
    950: '#000000',
  },
}
SCSS
$custom: #aab252;
$custom-light: #c5c886;
$custom-dark: #000000;
JSON
{
  "hex": "#aab252",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 65,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73718,
    "c": 0.12076,
    "h": 113.3
  },
  "luminance": 0.40996
}

Semantic roles & 50–950 ramp

primary
#AAB252
secondary
#9E9BC5
accent
#59CE63
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB252

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

Preview Lab → · Contrast checker → · Palette generator →

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