#AAB82B#AAB82B

#AAB82B 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#AAB82B
RGBrgb(170, 184, 43)
HSLhsl(66, 62%, 45%)
HSVhsv(66, 77%, 72%)
CMYKcmyk(7.6%, 0%, 76.6%, 27.8%)
CIE-LABlab(71.56, -21.92, 64.53)
CIE-LCHlch(71.56, 68.16, 108.76°)
OKLaboklab(74.73% -0.067 0.1415)
OKLCHoklch(74.73% 0.157 115.3)
XYZxyz(34.1551, 43.0020, 8.7860)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB82B #392BB8
analogous
#B87F2B #AAB82B #64B82B
triadic
#AAB82B #2BAAB8 #B82BAA
tetradic
#AAB82B #2BB87F #392BB8 #B82B64
square
#AAB82B #2BB87F #392BB8 #B82B64
split-complementary
#AAB82B #2B64B8 #7F2BB8
monochromatic
#4E5514 #7C861F #AAB82B #C7D54B #D7E17D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB82B#FFFFFF#000000##000000
##AAB82B1.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)
#C5AE03
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#B5AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab82b;
/* rgb */ color: rgb(170, 184, 43);
/* oklch */ color: oklch(74.7% 0.157 115.3);
Tailwind
colors: {
  custom: {
    50: '#c7cd70',
    500: '#aab82b',
    950: '#000000',
  },
}
SCSS
$custom: #aab82b;
$custom-light: #c7cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab82b",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 65.957,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74729,
    "c": 0.15654,
    "h": 115.3
  },
  "luminance": 0.43001
}

Semantic roles & 50–950 ramp

primary
#AAB82B
secondary
#7E76C9
accent
#43E553
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB82B

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

Preview Lab → · Contrast checker → · Palette generator →

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