#AAB52E#AAB52E

#AAB52E 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#AAB52E
RGBrgb(170, 181, 46)
HSLhsl(65, 59%, 45%)
HSVhsv(65, 75%, 71%)
CMYKcmyk(6.1%, 0%, 74.6%, 29%)
CIE-LABlab(70.73, -20.30, 62.79)
CIE-LCHlch(70.73, 65.99, 107.92°)
OKLaboklab(74.07% -0.0623 0.1383)
OKLCHoklch(74.07% 0.152 114.2)
XYZxyz(33.5956, 41.7917, 8.8811)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB52E #392EB5
analogous
#B57D2E #AAB52E #67B52E
triadic
#AAB52E #2EAAB5 #B52EAA
tetradic
#AAB52E #2EB57D #392EB5 #B52E67
square
#AAB52E #2EB57D #392EB5 #B52E67
split-complementary
#AAB52E #2E67B5 #7D2EB5
monochromatic
#4E5315 #7C8422 #AAB52E #C7D24E #D7DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #aab52e;
/* rgb */ color: rgb(170, 181, 46);
/* oklch */ color: oklch(74.1% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb71',
    500: '#aab52e',
    950: '#000000',
  },
}
SCSS
$custom: #aab52e;
$custom-light: #c7cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#aab52e",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 64.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74069,
    "c": 0.15169,
    "h": 114.2
  },
  "luminance": 0.41791
}

Semantic roles & 50–950 ramp

primary
#AAB52E
secondary
#7E78C7
accent
#45E352
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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