#AABA2C#AABA2C

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

Color values

HEX#AABA2C
RGBrgb(170, 186, 44)
HSLhsl(67, 62%, 45%)
HSVhsv(67, 76%, 73%)
CMYKcmyk(8.6%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.13, -22.87, 64.74)
CIE-LCHlch(72.13, 68.66, 109.45°)
OKLaboklab(75.19% -0.0695 0.1421)
OKLCHoklch(75.19% 0.158 116.1)
XYZxyz(34.5920, 43.8462, 9.0233)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA2C #3C2CBA
analogous
#BA832C #AABA2C #63BA2C
triadic
#AABA2C #2CAABA #BA2CAA
tetradic
#AABA2C #2CBA83 #3C2CBA #BA2C63
square
#AABA2C #2CBA83 #3C2CBA #BA2C63
split-complementary
#AABA2C #2C63BA #832CBA
monochromatic
#505715 #7D8920 #AABA2C #C6D54E #D6E180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AABA2C#FFFFFF#000000##000000
##AABA2C1.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)
#C7B004
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#B5AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba2c;
/* rgb */ color: rgb(170, 186, 44);
/* oklch */ color: oklch(75.2% 0.158 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7ce71',
    500: '#aaba2c',
    950: '#000000',
  },
}
SCSS
$custom: #aaba2c;
$custom-light: #c7ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba2c",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 66.761,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.1582,
    "h": 116.1
  },
  "luminance": 0.43846
}

Semantic roles & 50–950 ramp

primary
#AABA2C
secondary
#8178CA
accent
#43E555
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AABA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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