#9AA531#9AA531

#9AA531 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.137 H 114.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9AA531
RGBrgb(154, 165, 49)
HSLhsl(66, 54%, 42%)
HSVhsv(66, 70%, 65%)
CMYKcmyk(6.7%, 0%, 70.3%, 35.3%)
CIE-LABlab(64.96, -18.94, 55.73)
CIE-LCHlch(64.96, 58.86, 108.77°)
OKLaboklab(69.15% -0.0573 0.1245)
OKLCHoklch(69.15% 0.137 114.7)
XYZxyz(27.3367, 34.0025, 8.0282)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA531 #3C31A5
analogous
#A57631 #9AA531 #60A531
triadic
#9AA531 #319AA5 #A5319A
tetradic
#9AA531 #31A576 #3C31A5 #A53160
square
#9AA531 #31A576 #3C31A5 #A53160
split-complementary
#9AA531 #3160A5 #7631A5
monochromatic
#424715 #6E7623 #9AA531 #BDC94A #CED779

Accessibility & contrast

On white

2.69
#9AA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9AA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA531
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA531#FFFFFF#000000##000000
##9AA5311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa531;
/* rgb */ color: rgb(154, 165, 49);
/* oklch */ color: oklch(69.1% 0.137 114.7);
Tailwind
colors: {
  custom: {
    50: '#bbbf71',
    500: '#9aa531',
    950: '#000000',
  },
}
SCSS
$custom: #9aa531;
$custom-light: #bbbf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa531",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 65.69,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.13701,
    "h": 114.7
  },
  "luminance": 0.34002
}

Semantic roles & 50–950 ramp

primary
#9AA531
secondary
#7A72C0
accent
#4ADE58
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA531

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

Preview Lab → · Contrast checker → · Palette generator →

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