#9BAB52#9BAB52

#9BAB52 is a light, moderate yellow-green. Relative luminance 0.367; OKLCH L 70.9% C 0.116 H 117.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9BAB52
RGBrgb(155, 171, 82)
HSLhsl(71, 35%, 50%)
HSVhsv(71, 52%, 67%)
CMYKcmyk(9.4%, 0%, 52%, 32.9%)
CIE-LABlab(67.05, -19.07, 43.45)
CIE-LCHlch(67.05, 47.45, 113.69°)
OKLaboklab(70.94% -0.0543 0.1026)
OKLCHoklch(70.94% 0.116 117.9)
XYZxyz(29.6038, 36.7038, 13.5060)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB52 #6252AB
analogous
#AB8F52 #9BAB52 #6EAB52
triadic
#9BAB52 #529BAB #AB529B
tetradic
#9BAB52 #52AB8F #6252AB #AB526E
square
#9BAB52 #52AB8F #6252AB #AB526E
split-complementary
#9BAB52 #526EAB #8F52AB
monochromatic
#50582A #76823E #9BAB52 #B3C07B #CBD3A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAB52#FFFFFF#000000##000000
##9BAB521.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)
#B5A34A
Deuteranopia (green-blind)
#B3A457
Tritanopia (blue-blind)
#A3A397
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bab52;
/* rgb */ color: rgb(155, 171, 82);
/* oklch */ color: oklch(70.9% 0.116 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac485',
    500: '#9bab52',
    950: '#000000',
  },
}
SCSS
$custom: #9bab52;
$custom-light: #bac485;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab52",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 70.787,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70937,
    "c": 0.11613,
    "h": 117.9
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#9BAB52
secondary
#9F98C1
accent
#5DCB70
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BAB52

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

Preview Lab → · Contrast checker → · Palette generator →

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