#AAB82A#AAB82A

#AAB82A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.157 H 115.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#AAB82A
RGBrgb(170, 184, 42)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 72%)
CMYKcmyk(7.6%, 0%, 77.2%, 27.8%)
CIE-LABlab(71.55, -21.97, 64.84)
CIE-LCHlch(71.55, 68.46, 108.71°)
OKLaboklab(74.72% -0.0672 0.142)
OKLCHoklch(74.72% 0.157 115.3)
XYZxyz(34.1369, 42.9948, 8.6906)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB82A #382AB8
analogous
#B87F2A #AAB82A #63B82A
triadic
#AAB82A #2AAAB8 #B82AAA
tetradic
#AAB82A #2AB87F #382AB8 #B82A63
square
#AAB82A #2AB87F #382AB8 #B82A63
split-complementary
#AAB82A #2A63B8 #7F2AB8
monochromatic
#4E5413 #7C861F #AAB82A #C8D64A #D7E17B

Accessibility & contrast

On white

2.19
#AAB82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#AAB82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB82A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB82A#FFFFFF#000000##000000
##AAB82A1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B5AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab82a;
/* rgb */ color: rgb(170, 184, 42);
/* oklch */ color: oklch(74.7% 0.157 115.3);
Tailwind
colors: {
  custom: {
    50: '#c7cd70',
    500: '#aab82a',
    950: '#000000',
  },
}
SCSS
$custom: #aab82a;
$custom-light: #c7cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab82a",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 65.915,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74724,
    "c": 0.15705,
    "h": 115.3
  },
  "luminance": 0.42994
}

Semantic roles & 50–950 ramp

primary
#AAB82A
secondary
#7D75C9
accent
#42E652
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB82A

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

Preview Lab → · Contrast checker → · Palette generator →

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