#9AA52F#9AA52F

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

Color values

HEX#9AA52F
RGBrgb(154, 165, 47)
HSLhsl(66, 56%, 42%)
HSVhsv(66, 72%, 65%)
CMYKcmyk(6.7%, 0%, 71.5%, 35.3%)
CIE-LABlab(64.95, -19.05, 56.47)
CIE-LCHlch(64.95, 59.60, 108.64°)
OKLaboklab(69.13% -0.0578 0.1257)
OKLCHoklch(69.13% 0.138 114.7)
XYZxyz(27.2954, 33.9860, 7.8108)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA52F #3A2FA5
analogous
#A5752F #9AA52F #5FA52F
triadic
#9AA52F #2F9AA5 #A52F9A
tetradic
#9AA52F #2FA575 #3A2FA5 #A52F5F
square
#9AA52F #2FA575 #3A2FA5 #A52F5F
split-complementary
#9AA52F #2F5FA5 #752FA5
monochromatic
#414614 #6E7521 #9AA52F #BECB47 #CFD876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA52F#FFFFFF#000000##000000
##9AA52F1.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)
#B19D1A
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa52f;
/* rgb */ color: rgb(154, 165, 47);
/* oklch */ color: oklch(69.1% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#bbbf70',
    500: '#9aa52f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa52f;
$custom-light: #bbbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa52f",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 65.593,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69132,
    "c": 0.13832,
    "h": 114.7
  },
  "luminance": 0.33986
}

Semantic roles & 50–950 ramp

primary
#9AA52F
secondary
#7770C0
accent
#49DF57
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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