#9AA520#9AA520

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

Color values

HEX#9AA520
RGBrgb(154, 165, 32)
HSLhsl(65, 68%, 39%)
HSVhsv(65, 81%, 65%)
CMYKcmyk(6.7%, 0%, 80.6%, 35.3%)
CIE-LABlab(64.87, -19.72, 61.34)
CIE-LCHlch(64.87, 64.43, 107.83°)
OKLaboklab(69.04% -0.0609 0.1333)
OKLCHoklch(69.04% 0.147 114.6)
XYZxyz(27.0431, 33.8851, 6.4821)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA520 #2B20A5
analogous
#A56D20 #9AA520 #57A520
triadic
#9AA520 #209AA5 #A5209A
tetradic
#9AA520 #20A56D #2B20A5 #A52057
square
#9AA520 #20A56D #2B20A5 #A52057
split-complementary
#9AA520 #2057A5 #6D20A5
monochromatic
#3A3E0C #6A7216 #9AA520 #C8D62C #D5E05F

Accessibility & contrast

On white

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

On black

7.78
#9AA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA520
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA520#FFFFFF#000000##000000
##9AA5201.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#A59B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa520;
/* rgb */ color: rgb(154, 165, 32);
/* oklch */ color: oklch(69.0% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf69',
    500: '#9aa520',
    950: '#000000',
  },
}
SCSS
$custom: #9aa520;
$custom-light: #bbbf69;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa520",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 64.962,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69042,
    "c": 0.14658,
    "h": 114.6
  },
  "luminance": 0.33885
}

Semantic roles & 50–950 ramp

primary
#9AA520
secondary
#655CC5
accent
#3DEA4C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA520

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

Preview Lab → · Contrast checker → · Palette generator →

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