#AAB82F#AAB82F

#AAB82F is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.154 H 115.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AAB82F
RGBrgb(170, 184, 47)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 74%, 72%)
CMYKcmyk(7.6%, 0%, 74.5%, 27.8%)
CIE-LABlab(71.58, -21.75, 63.26)
CIE-LCHlch(71.58, 66.89, 108.97°)
OKLaboklab(74.75% -0.0662 0.1395)
OKLCHoklch(74.75% 0.154 115.4)
XYZxyz(34.2321, 43.0328, 9.1916)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB82F #3D2FB8
analogous
#B8812F #AAB82F #66B82F
triadic
#AAB82F #2FAAB8 #B82FAA
tetradic
#AAB82F #2FB881 #3D2FB8 #B82F66
square
#AAB82F #2FB881 #3D2FB8 #B82F66
split-complementary
#AAB82F #2F66B8 #812FB8
monochromatic
#505716 #7D8723 #AAB82F #C5D352 #D6DF82

Accessibility & contrast

On white

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

On black

9.61
#AAB82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB82F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB82F#FFFFFF#000000##000000
##AAB82F1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab82f;
/* rgb */ color: rgb(170, 184, 47);
/* oklch */ color: oklch(74.8% 0.154 115.4);
Tailwind
colors: {
  custom: {
    50: '#c7cd72',
    500: '#aab82f',
    950: '#000000',
  },
}
SCSS
$custom: #aab82f;
$custom-light: #c7cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#aab82f",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 66.131,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74753,
    "c": 0.15438,
    "h": 115.4
  },
  "luminance": 0.43032
}

Semantic roles & 50–950 ramp

primary
#AAB82F
secondary
#827BC8
accent
#45E255
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB82F

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

Preview Lab → · Contrast checker → · Palette generator →

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