#AABA2A#AABA2A

#AABA2A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.2% C 0.159 H 116.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#AABA2A
RGBrgb(170, 186, 42)
HSLhsl(67, 63%, 45%)
HSVhsv(67, 77%, 73%)
CMYKcmyk(8.6%, 0%, 77.4%, 27.1%)
CIE-LABlab(72.12, -22.95, 65.35)
CIE-LCHlch(72.12, 69.27, 109.35°)
OKLaboklab(75.18% -0.0699 0.1431)
OKLCHoklch(75.18% 0.159 116)
XYZxyz(34.5553, 43.8316, 8.8300)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA2A #3A2ABA
analogous
#BA822A #AABA2A #62BA2A
triadic
#AABA2A #2AAABA #BA2AAA
tetradic
#AABA2A #2ABA82 #3A2ABA #BA2A62
square
#AABA2A #2ABA82 #3A2ABA #BA2A62
split-complementary
#AABA2A #2A62BA #822ABA
monochromatic
#4F5613 #7C881F #AABA2A #C7D64B #D6E27D

Accessibility & contrast

On white

2.15
#AABA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#AABA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA2A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA2A#FFFFFF#000000##000000
##AABA2A1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#B5AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba2a;
/* rgb */ color: rgb(170, 186, 42);
/* oklch */ color: oklch(75.2% 0.159 116.0);
Tailwind
colors: {
  custom: {
    50: '#c7ce70',
    500: '#aaba2a',
    950: '#000000',
  },
}
SCSS
$custom: #aaba2a;
$custom-light: #c7ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba2a",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 66.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75177,
    "c": 0.15922,
    "h": 116
  },
  "luminance": 0.43831
}

Semantic roles & 50–950 ramp

primary
#AABA2A
secondary
#7F76CA
accent
#42E654
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AABA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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