#9AA536#9AA536

#9AA536 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.133 H 114.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9AA536
RGBrgb(154, 165, 54)
HSLhsl(66, 51%, 43%)
HSVhsv(66, 67%, 65%)
CMYKcmyk(6.7%, 0%, 67.3%, 35.3%)
CIE-LABlab(65.00, -18.65, 53.79)
CIE-LCHlch(65.00, 56.93, 109.12°)
OKLaboklab(69.19% -0.056 0.1212)
OKLCHoklch(69.19% 0.133 114.8)
XYZxyz(27.4481, 34.0471, 8.6151)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA536 #4136A5
analogous
#A57836 #9AA536 #62A536
triadic
#9AA536 #369AA5 #A5369A
tetradic
#9AA536 #36A578 #4136A5 #A53662
square
#9AA536 #36A578 #4136A5 #A53662
split-complementary
#9AA536 #3662A5 #7836A5
monochromatic
#444918 #6F7727 #9AA536 #BBC652 #CDD580

Accessibility & contrast

On white

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

On black

7.81
#9AA536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA536
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA536#FFFFFF#000000##000000
##9AA5361.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#A49C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa536;
/* rgb */ color: rgb(154, 165, 54);
/* oklch */ color: oklch(69.2% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#bbbf73',
    500: '#9aa536',
    950: '#000000',
  },
}
SCSS
$custom: #9aa536;
$custom-light: #bbbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa536",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 65.946,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.13349,
    "h": 114.8
  },
  "luminance": 0.34047
}

Semantic roles & 50–950 ramp

primary
#9AA536
secondary
#7F78BF
accent
#4EDA5C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA536

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

Preview Lab → · Contrast checker → · Palette generator →

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