#AAB52B#AAB52B

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

Color values

HEX#AAB52B
RGBrgb(170, 181, 43)
HSLhsl(65, 62%, 44%)
HSVhsv(65, 76%, 71%)
CMYKcmyk(6.1%, 0%, 76.2%, 29%)
CIE-LABlab(70.71, -20.43, 63.76)
CIE-LCHlch(70.71, 66.95, 107.77°)
OKLaboklab(74.05% -0.0629 0.1398)
OKLCHoklch(74.05% 0.153 114.2)
XYZxyz(33.5385, 41.7689, 8.5805)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB52B #362BB5
analogous
#B57B2B #AAB52B #65B52B
triadic
#AAB52B #2BAAB5 #B52BAA
tetradic
#AAB52B #2BB57B #362BB5 #B52B65
square
#AAB52B #2BB57B #362BB5 #B52B65
split-complementary
#AAB52B #2B65B5 #7B2BB5
monochromatic
#4D5214 #7C841F #AAB52B #C9D449 #D8E07B

Accessibility & contrast

On white

2.25
#AAB52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#AAB52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB52B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB52B#FFFFFF#000000##000000
##AAB52B1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab52b;
/* rgb */ color: rgb(170, 181, 43);
/* oklch */ color: oklch(74.1% 0.153 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb70',
    500: '#aab52b',
    950: '#000000',
  },
}
SCSS
$custom: #aab52b;
$custom-light: #c7cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab52b",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 64.783,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74051,
    "c": 0.15332,
    "h": 114.2
  },
  "luminance": 0.41768
}

Semantic roles & 50–950 ramp

primary
#AAB52B
secondary
#7B74C8
accent
#43E550
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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