#AAB52F#AAB52F

#AAB52F is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.151 H 114.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#AAB52F
RGBrgb(170, 181, 47)
HSLhsl(65, 59%, 45%)
HSVhsv(65, 74%, 71%)
CMYKcmyk(6.1%, 0%, 74%, 29%)
CIE-LABlab(70.73, -20.25, 62.46)
CIE-LCHlch(70.73, 65.66, 107.97°)
OKLaboklab(74.08% -0.062 0.1378)
OKLCHoklch(74.08% 0.151 114.2)
XYZxyz(33.6155, 41.7997, 8.9861)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB52F #3A2FB5
analogous
#B57D2F #AAB52F #67B52F
triadic
#AAB52F #2FAAB5 #B52FAA
tetradic
#AAB52F #2FB57D #3A2FB5 #B52F67
square
#AAB52F #2FB57D #3A2FB5 #B52F67
split-complementary
#AAB52F #2F67B5 #7D2FB5
monochromatic
#4F5416 #7C8422 #AAB52F #C7D150 #D6DE80

Accessibility & contrast

On white

2.24
#AAB52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#AAB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB52F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB52F#FFFFFF#000000##000000
##AAB52F1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC12
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#B5AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab52f;
/* rgb */ color: rgb(170, 181, 47);
/* oklch */ color: oklch(74.1% 0.151 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb72',
    500: '#aab52f',
    950: '#000000',
  },
}
SCSS
$custom: #aab52f;
$custom-light: #c7cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#aab52f",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 64.925,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74075,
    "c": 0.15112,
    "h": 114.2
  },
  "luminance": 0.41799
}

Semantic roles & 50–950 ramp

primary
#AAB52F
secondary
#7F79C7
accent
#46E253
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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