#AABA42#AABA42

#AABA42 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.144 H 116.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#AABA42
RGBrgb(170, 186, 66)
HSLhsl(68, 48%, 49%)
HSVhsv(68, 65%, 73%)
CMYKcmyk(8.6%, 0%, 64.5%, 27.1%)
CIE-LABlab(72.27, -21.67, 56.81)
CIE-LCHlch(72.27, 60.80, 110.88°)
OKLaboklab(75.35% -0.0642 0.129)
OKLCHoklch(75.35% 0.144 116.5)
XYZxyz(35.1206, 44.0577, 11.8070)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA42 #5242BA
analogous
#BA8E42 #AABA42 #6EBA42
triadic
#AABA42 #42AABA #BA42AA
tetradic
#AABA42 #42BA8E #5242BA #BA426E
square
#AABA42 #42BA8E #5242BA #BA426E
split-complementary
#AABA42 #426EBA #8E42BA
monochromatic
#576022 #818D32 #AABA42 #BFCB6E #D3DB9B

Accessibility & contrast

On white

2.14
#AABA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#AABA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA42
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA42#FFFFFF#000000##000000
##AABA421.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B132
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#B4B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba42;
/* rgb */ color: rgb(170, 186, 66);
/* oklch */ color: oklch(75.3% 0.144 116.5);
Tailwind
colors: {
  custom: {
    50: '#c6ce7c',
    500: '#aaba42',
    950: '#000000',
  },
}
SCSS
$custom: #aaba42;
$custom-light: #c6ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba42",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 68,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75347,
    "c": 0.14406,
    "h": 116.5
  },
  "luminance": 0.44057
}

Semantic roles & 50–950 ramp

primary
#AABA42
secondary
#9890C8
accent
#51D763
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AABA42

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

Preview Lab → · Contrast checker → · Palette generator →

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