#9BA050#9BA050

#9BA050 is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.104 H 112.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9BA050
RGBrgb(155, 160, 80)
HSLhsl(64, 33%, 47%)
HSVhsv(64, 50%, 63%)
CMYKcmyk(3.1%, 0%, 50%, 37.3%)
CIE-LABlab(63.91, -13.59, 40.71)
CIE-LCHlch(63.91, 42.92, 108.46°)
OKLaboklab(68.41% -0.039 0.0965)
OKLCHoklch(68.41% 0.104 112)
XYZxyz(27.5368, 32.6899, 12.4470)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA050 #5550A0
analogous
#A07D50 #9BA050 #73A050
triadic
#9BA050 #509BA0 #A0509B
tetradic
#9BA050 #50A07D #5550A0 #A05073
square
#9BA050 #50A07D #5550A0 #A05073
split-complementary
#9BA050 #5073A0 #7D50A0
monochromatic
#4C4E27 #73773C #9BA050 #B5B974 #CBCE9D

Accessibility & contrast

On white

2.79
#9BA050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9BA050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA050
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA050#FFFFFF#000000##000000
##9BA0501.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A49
Deuteranopia (green-blind)
#AB9C54
Tritanopia (blue-blind)
#A4988E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba050;
/* rgb */ color: rgb(155, 160, 80);
/* oklch */ color: oklch(68.4% 0.104 112.0);
Tailwind
colors: {
  custom: {
    50: '#babc83',
    500: '#9ba050',
    950: '#000000',
  },
}
SCSS
$custom: #9ba050;
$custom-light: #babc83;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba050",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 80
  },
  "hsl": {
    "h": 63.75,
    "s": 33.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68414,
    "c": 0.10406,
    "h": 112
  },
  "luminance": 0.32689
}

Semantic roles & 50–950 ramp

primary
#9BA050
secondary
#9491BB
accent
#5EC965
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9BA050

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

Preview Lab → · Contrast checker → · Palette generator →

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