#9BAC32#9BAC32

#9BAC32 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.144 H 117.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9BAC32
RGBrgb(155, 172, 50)
HSLhsl(68, 55%, 44%)
HSVhsv(68, 71%, 67%)
CMYKcmyk(9.9%, 0%, 70.9%, 32.5%)
CIE-LABlab(67.05, -21.98, 57.45)
CIE-LCHlch(67.05, 61.51, 110.94°)
OKLaboklab(70.85% -0.0657 0.1282)
OKLCHoklch(70.85% 0.144 117.1)
XYZxyz(28.8465, 36.7042, 8.5820)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC32 #4332AC
analogous
#AC8032 #9BAC32 #5EAC32
triadic
#9BAC32 #329BAC #AC329B
tetradic
#9BAC32 #32AC80 #4332AC #AC325E
square
#9BAC32 #32AC80 #4332AC #AC325E
split-complementary
#9BAC32 #325EAC #8032AC
monochromatic
#464D16 #707D24 #9BAC32 #BBCC4F #CDDA7F

Accessibility & contrast

On white

2.52
#9BAC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#9BAC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC32
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC32#FFFFFF#000000##000000
##9BAC321.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#A5A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac32;
/* rgb */ color: rgb(155, 172, 50);
/* oklch */ color: oklch(70.8% 0.144 117.1);
Tailwind
colors: {
  custom: {
    50: '#bcc472',
    500: '#9bac32',
    950: '#000000',
  },
}
SCSS
$custom: #9bac32;
$custom-light: #bcc472;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac32",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 68.361,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70845,
    "c": 0.14406,
    "h": 117.1
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#9BAC32
secondary
#8277C3
accent
#4ADE5E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC32

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

Preview Lab → · Contrast checker → · Palette generator →

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