#AAB12A#AAB12A

#AAB12A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.150 H 112.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#AAB12A
RGBrgb(170, 177, 42)
HSLhsl(63, 62%, 43%)
HSVhsv(63, 76%, 69%)
CMYKcmyk(4%, 0%, 76.3%, 30.6%)
CIE-LABlab(69.58, -18.47, 63.03)
CIE-LCHlch(69.58, 65.68, 106.33°)
OKLaboklab(73.15% -0.0575 0.1381)
OKLCHoklch(73.15% 0.15 112.6)
XYZxyz(32.7187, 40.1583, 8.2178)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB12A #312AB1
analogous
#B1742A #AAB12A #66B12A
triadic
#AAB12A #2AAAB1 #B12AAA
tetradic
#AAB12A #2AB174 #312AB1 #B12A66
square
#AAB12A #2AB174 #312AB1 #B12A66
split-complementary
#AAB12A #2A66B1 #742AB1
monochromatic
#4B4E13 #7A801E #AAB12A #CCD345 #D9DF77

Accessibility & contrast

On white

2.33
#AAB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#AAB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB12A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB12A#FFFFFF#000000##000000
##AAB12A1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA805
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab12a;
/* rgb */ color: rgb(170, 177, 42);
/* oklch */ color: oklch(73.1% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c86f',
    500: '#aab12a',
    950: '#000000',
  },
}
SCSS
$custom: #aab12a;
$custom-light: #c7c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab12a",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 63.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73145,
    "c": 0.14962,
    "h": 112.6
  },
  "luminance": 0.40157
}

Semantic roles & 50–950 ramp

primary
#AAB12A
secondary
#7570C6
accent
#43E54B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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