#AABA2B#AABA2B

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

Color values

HEX#AABA2B
RGBrgb(170, 186, 43)
HSLhsl(67, 62%, 45%)
HSVhsv(67, 77%, 73%)
CMYKcmyk(8.6%, 0%, 76.9%, 27.1%)
CIE-LABlab(72.12, -22.91, 65.05)
CIE-LCHlch(72.12, 68.97, 109.40°)
OKLaboklab(75.18% -0.0697 0.1426)
OKLCHoklch(75.18% 0.159 116.1)
XYZxyz(34.5735, 43.8388, 8.9255)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA2B #3B2BBA
analogous
#BA822B #AABA2B #63BA2B
triadic
#AABA2B #2BAABA #BA2BAA
tetradic
#AABA2B #2BBA82 #3B2BBA #BA2B63
square
#AABA2B #2BBA82 #3B2BBA #BA2B63
split-complementary
#AABA2B #2B63BA #822BBA
monochromatic
#4F5714 #7D8820 #AABA2B #C6D64C #D6E17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AABA2B#FFFFFF#000000##000000
##AABA2B1.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)
#C7B001
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#B5AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba2b;
/* rgb */ color: rgb(170, 186, 43);
/* oklch */ color: oklch(75.2% 0.159 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7ce70',
    500: '#aaba2b',
    950: '#000000',
  },
}
SCSS
$custom: #aaba2b;
$custom-light: #c7ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba2b",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 66.713,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.15872,
    "h": 116.1
  },
  "luminance": 0.43838
}

Semantic roles & 50–950 ramp

primary
#AABA2B
secondary
#8077CA
accent
#42E655
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AABA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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