#AAB42E#AAB42E

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

Color values

HEX#AAB42E
RGBrgb(170, 180, 46)
HSLhsl(64, 59%, 44%)
HSVhsv(64, 74%, 71%)
CMYKcmyk(5.6%, 0%, 74.4%, 29.4%)
CIE-LABlab(70.45, -19.80, 62.53)
CIE-LCHlch(70.45, 65.59, 107.57°)
OKLaboklab(73.84% -0.0609 0.1378)
OKLCHoklch(73.84% 0.151 113.8)
XYZxyz(33.3930, 41.3865, 8.8135)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB42E #382EB4
analogous
#B47B2E #AAB42E #67B42E
triadic
#AAB42E #2EAAB4 #B42EAA
tetradic
#AAB42E #2EB47B #382EB4 #B42E67
square
#AAB42E #2EB47B #382EB4 #B42E67
split-complementary
#AAB42E #2E67B4 #7B2EB4
monochromatic
#4E5315 #7C8322 #AAB42E #C8D24E #D7DE7E

Accessibility & contrast

On white

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

On black

9.28
#AAB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB42E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB42E#FFFFFF#000000##000000
##AAB42E1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB10
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#B5A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab42e;
/* rgb */ color: rgb(170, 180, 46);
/* oklch */ color: oklch(73.8% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7ca71',
    500: '#aab42e',
    950: '#000000',
  },
}
SCSS
$custom: #aab42e;
$custom-light: #c7ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#aab42e",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 64.478,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73844,
    "c": 0.15061,
    "h": 113.8
  },
  "luminance": 0.41386
}

Semantic roles & 50–950 ramp

primary
#AAB42E
secondary
#7D77C7
accent
#45E251
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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