#AAB52D#AAB52D

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

Color values

HEX#AAB52D
RGBrgb(170, 181, 45)
HSLhsl(65, 60%, 44%)
HSVhsv(65, 75%, 71%)
CMYKcmyk(6.1%, 0%, 75.1%, 29%)
CIE-LABlab(70.72, -20.35, 63.12)
CIE-LCHlch(70.72, 66.32, 107.87°)
OKLaboklab(74.06% -0.0625 0.1388)
OKLCHoklch(74.06% 0.152 114.2)
XYZxyz(33.5761, 41.7839, 8.7785)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB52D #382DB5
analogous
#B57C2D #AAB52D #66B52D
triadic
#AAB52D #2DAAB5 #B52DAA
tetradic
#AAB52D #2DB57C #382DB5 #B52D66
square
#AAB52D #2DB57C #382DB5 #B52D66
split-complementary
#AAB52D #2D66B5 #7C2DB5
monochromatic
#4E5315 #7C8421 #AAB52D #C8D34D #D7DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB52D#FFFFFF#000000##000000
##AAB52D1.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)
#C2AC0C
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#B5AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab52d;
/* rgb */ color: rgb(170, 181, 45);
/* oklch */ color: oklch(74.1% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb71',
    500: '#aab52d',
    950: '#000000',
  },
}
SCSS
$custom: #aab52d;
$custom-light: #c7cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#aab52d",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 64.853,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74063,
    "c": 0.15225,
    "h": 114.2
  },
  "luminance": 0.41783
}

Semantic roles & 50–950 ramp

primary
#AAB52D
secondary
#7D76C7
accent
#44E351
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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