#9AA522#9AA522

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

Color values

HEX#9AA522
RGBrgb(154, 165, 34)
HSLhsl(65, 66%, 39%)
HSVhsv(65, 79%, 65%)
CMYKcmyk(6.7%, 0%, 79.4%, 35.3%)
CIE-LABlab(64.88, -19.65, 60.77)
CIE-LCHlch(64.88, 63.87, 107.92°)
OKLaboklab(69.05% -0.0606 0.1325)
OKLCHoklch(69.05% 0.146 114.6)
XYZxyz(27.0711, 33.8963, 6.6296)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA522 #2D22A5
analogous
#A56F22 #9AA522 #59A522
triadic
#9AA522 #229AA5 #A5229A
tetradic
#9AA522 #22A56F #2D22A5 #A52259
square
#9AA522 #22A56F #2D22A5 #A52259
split-complementary
#9AA522 #2259A5 #6F22A5
monochromatic
#3B400D #6B7218 #9AA522 #C7D430 #D4DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA522#FFFFFF#000000##000000
##9AA5221.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)
#B19E2E
Tritanopia (blue-blind)
#A59B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa522;
/* rgb */ color: rgb(154, 165, 34);
/* oklch */ color: oklch(69.1% 0.146 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf6a',
    500: '#9aa522',
    950: '#000000',
  },
}
SCSS
$custom: #9aa522;
$custom-light: #bbbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa522",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 65.038,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69052,
    "c": 0.14565,
    "h": 114.6
  },
  "luminance": 0.33896
}

Semantic roles & 50–950 ramp

primary
#9AA522
secondary
#675FC4
accent
#3FE94D
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA522

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

Preview Lab → · Contrast checker → · Palette generator →

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