#9BA75B#9BA75B

#9BA75B is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.101 H 116.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9BA75B
RGBrgb(155, 167, 91)
HSLhsl(69, 30%, 51%)
HSVhsv(69, 46%, 65%)
CMYKcmyk(7.2%, 0%, 45.5%, 34.5%)
CIE-LABlab(66.03, -16.10, 37.72)
CIE-LCHlch(66.03, 41.01, 113.11°)
OKLaboklab(70.15% -0.0451 0.0907)
OKLCHoklch(70.15% 0.101 116.4)
XYZxyz(29.2249, 35.3616, 15.1814)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA75B #675BA7
analogous
#A78D5B #9BA75B #75A75B
triadic
#9BA75B #5B9BA7 #A75B9B
tetradic
#9BA75B #5BA78D #675BA7 #A75B75
square
#9BA75B #5BA78D #675BA7 #A75B75
split-complementary
#9BA75B #5B75A7 #8D5BA7
monochromatic
#52582F #778045 #9BA75B #B3BC83 #CCD2AB

Accessibility & contrast

On white

2.60
#9BA75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9BA75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA75B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA75B#FFFFFF#000000##000000
##9BA75B1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A055
Deuteranopia (green-blind)
#AFA15F
Tritanopia (blue-blind)
#A2A095
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba75b;
/* rgb */ color: rgb(155, 167, 91);
/* oklch */ color: oklch(70.2% 0.101 116.4);
Tailwind
colors: {
  custom: {
    50: '#bac18b',
    500: '#9ba75b',
    950: '#000000',
  },
}
SCSS
$custom: #9ba75b;
$custom-light: #bac18b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba75b",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 91
  },
  "hsl": {
    "h": 69.474,
    "s": 30.159,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70153,
    "c": 0.10133,
    "h": 116.4
  },
  "luminance": 0.35361
}

Semantic roles & 50–950 ramp

primary
#9BA75B
secondary
#A39EC0
accent
#61C671
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9BA75B

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

Preview Lab → · Contrast checker → · Palette generator →

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