#AAB92B#AAB92B

#AAB92B 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#AAB92B
RGBrgb(170, 185, 43)
HSLhsl(66, 62%, 45%)
HSVhsv(66, 77%, 73%)
CMYKcmyk(8.1%, 0%, 76.8%, 27.5%)
CIE-LABlab(71.84, -22.42, 64.79)
CIE-LCHlch(71.84, 68.56, 109.08°)
OKLaboklab(74.96% -0.0684 0.142)
OKLCHoklch(74.96% 0.158 115.7)
XYZxyz(34.3635, 43.4189, 8.8555)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB92B #3A2BB9
analogous
#B9812B #AAB92B #63B92B
triadic
#AAB92B #2BAAB9 #B92BAA
tetradic
#AAB92B #2BB981 #3A2BB9 #B92B63
square
#AAB92B #2BB981 #3A2BB9 #B92B63
split-complementary
#AAB92B #2B63B9 #812BB9
monochromatic
#4F5614 #7C871F #AAB92B #C7D54C #D6E17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB92B#FFFFFF#000000##000000
##AAB92B1.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)
#C6AF02
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B5AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab92b;
/* rgb */ color: rgb(170, 185, 43);
/* oklch */ color: oklch(75.0% 0.158 115.7);
Tailwind
colors: {
  custom: {
    50: '#c7cd70',
    500: '#aab92b',
    950: '#000000',
  },
}
SCSS
$custom: #aab92b;
$custom-light: #c7cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aab92b",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 66.338,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74956,
    "c": 0.15763,
    "h": 115.7
  },
  "luminance": 0.43418
}

Semantic roles & 50–950 ramp

primary
#AAB92B
secondary
#7F76C9
accent
#42E554
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB92B

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

Preview Lab → · Contrast checker → · Palette generator →

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