#AAB92A#AAB92A

#AAB92A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.0% C 0.158 H 115.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#AAB92A
RGBrgb(170, 185, 42)
HSLhsl(66, 63%, 45%)
HSVhsv(66, 77%, 73%)
CMYKcmyk(8.1%, 0%, 77.3%, 27.5%)
CIE-LABlab(71.83, -22.46, 65.10)
CIE-LCHlch(71.83, 68.86, 109.03°)
OKLaboklab(74.95% -0.0686 0.1425)
OKLCHoklch(74.95% 0.158 115.7)
XYZxyz(34.3454, 43.4117, 8.7601)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB92A #392AB9
analogous
#B9812A #AAB92A #62B92A
triadic
#AAB92A #2AAAB9 #B92AAA
tetradic
#AAB92A #2AB981 #392AB9 #B92A62
square
#AAB92A #2AB981 #392AB9 #B92A62
split-complementary
#AAB92A #2A62B9 #812AB9
monochromatic
#4E5513 #7C871F #AAB92A #C7D64A #D7E17C

Accessibility & contrast

On white

2.17
#AAB92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#AAB92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB92A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB92A#FFFFFF#000000##000000
##AAB92A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#B5AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab92a;
/* rgb */ color: rgb(170, 185, 42);
/* oklch */ color: oklch(75.0% 0.158 115.7);
Tailwind
colors: {
  custom: {
    50: '#c7cd70',
    500: '#aab92a',
    950: '#000000',
  },
}
SCSS
$custom: #aab92a;
$custom-light: #c7cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab92a",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 66.294,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7495,
    "c": 0.15814,
    "h": 115.7
  },
  "luminance": 0.43411
}

Semantic roles & 50–950 ramp

primary
#AAB92A
secondary
#7E75CA
accent
#42E653
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB92A

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

Preview Lab → · Contrast checker → · Palette generator →

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