#9AA528#9AA528

#9AA528 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.143 H 114.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9AA528
RGBrgb(154, 165, 40)
HSLhsl(65, 61%, 40%)
HSVhsv(65, 76%, 65%)
CMYKcmyk(6.7%, 0%, 75.8%, 35.3%)
CIE-LABlab(64.91, -19.40, 58.90)
CIE-LCHlch(64.91, 62.01, 108.23°)
OKLaboklab(69.09% -0.0594 0.1296)
OKLCHoklch(69.09% 0.143 114.6)
XYZxyz(27.1654, 33.9340, 7.1260)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA528 #3328A5
analogous
#A57128 #9AA528 #5BA528
triadic
#9AA528 #289AA5 #A5289A
tetradic
#9AA528 #28A571 #3328A5 #A5285B
square
#9AA528 #28A571 #3328A5 #A5285B
split-complementary
#9AA528 #285BA5 #7128A5
monochromatic
#3E4210 #6C741C #9AA528 #C2CF3B #D2DB6C

Accessibility & contrast

On white

2.70
#9AA528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#9AA528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA528
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA528#FFFFFF#000000##000000
##9AA5281.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A49B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa528;
/* rgb */ color: rgb(154, 165, 40);
/* oklch */ color: oklch(69.1% 0.143 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf6c',
    500: '#9aa528',
    950: '#000000',
  },
}
SCSS
$custom: #9aa528;
$custom-light: #bbbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa528",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 65.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69086,
    "c": 0.14254,
    "h": 114.6
  },
  "luminance": 0.33933
}

Semantic roles & 50–950 ramp

primary
#9AA528
secondary
#6F67C2
accent
#44E452
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA528

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

Preview Lab → · Contrast checker → · Palette generator →

#9AA528 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva