#AAB42C#AAB42C

#AAB42C is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.152 H 113.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AAB42C
RGBrgb(170, 180, 44)
HSLhsl(64, 61%, 44%)
HSVhsv(64, 76%, 71%)
CMYKcmyk(5.6%, 0%, 75.6%, 29.4%)
CIE-LABlab(70.44, -19.89, 63.18)
CIE-LCHlch(70.44, 66.24, 107.47°)
OKLaboklab(73.83% -0.0613 0.1388)
OKLCHoklch(73.83% 0.152 113.8)
XYZxyz(33.3545, 41.3711, 8.6108)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB42C #362CB4
analogous
#B47A2C #AAB42C #66B42C
triadic
#AAB42C #2CAAB4 #B42CAA
tetradic
#AAB42C #2CB47A #362CB4 #B42C66
square
#AAB42C #2CB47A #362CB4 #B42C66
split-complementary
#AAB42C #2C66B4 #7A2CB4
monochromatic
#4D5214 #7C8320 #AAB42C #C9D34A #D8DF7C

Accessibility & contrast

On white

2.26
#AAB42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AAB42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB42C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB42C#FFFFFF#000000##000000
##AAB42C1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB0A
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#B6A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab42c;
/* rgb */ color: rgb(170, 180, 44);
/* oklch */ color: oklch(73.8% 0.152 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7ca70',
    500: '#aab42c',
    950: '#000000',
  },
}
SCSS
$custom: #aab42c;
$custom-light: #c7ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab42c",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 64.412,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73832,
    "c": 0.15172,
    "h": 113.8
  },
  "luminance": 0.4137
}

Semantic roles & 50–950 ramp

primary
#AAB42C
secondary
#7B75C7
accent
#44E450
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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