#9BA06C#9BA06C

#9BA06C is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.072 H 112.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9BA06C
RGBrgb(155, 160, 108)
HSLhsl(66, 21%, 53%)
HSVhsv(66, 33%, 63%)
CMYKcmyk(3.1%, 0%, 32.5%, 37.3%)
CIE-LABlab(64.32, -10.38, 26.57)
CIE-LCHlch(64.32, 28.53, 111.34°)
OKLaboklab(68.87% -0.0277 0.066)
OKLCHoklch(68.87% 0.072 112.7)
XYZxyz(28.7952, 33.1932, 19.0745)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA06C #716CA0
analogous
#A08B6C #9BA06C #81A06C
triadic
#9BA06C #6C9BA0 #A06C9B
tetradic
#9BA06C #6CA08B #716CA0 #A06C81
square
#9BA06C #6CA08B #716CA0 #A06C81
split-complementary
#9BA06C #6C81A0 #8B6CA0
monochromatic
#555839 #797E51 #9BA06C #B4B891 #CED0B6

Accessibility & contrast

On white

2.75
#9BA06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#9BA06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA06C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA06C#FFFFFF#000000##000000
##9BA06C1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89B68
Deuteranopia (green-blind)
#A79D6E
Tritanopia (blue-blind)
#A19A93
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba06c;
/* rgb */ color: rgb(155, 160, 108);
/* oklch */ color: oklch(68.9% 0.072 112.7);
Tailwind
colors: {
  custom: {
    50: '#b9bc96',
    500: '#9ba06c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba06c;
$custom-light: #b9bc96;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba06c",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 108
  },
  "hsl": {
    "h": 65.769,
    "s": 21.488,
    "l": 52.549
  },
  "oklch": {
    "l": 0.68872,
    "c": 0.07161,
    "h": 112.7
  },
  "luminance": 0.33193
}

Semantic roles & 50–950 ramp

primary
#9BA06C
secondary
#ABA9BF
accent
#6ABE72
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120D
muted
#80817E

Preview Lab

Preview with #9BA06C

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

Preview Lab → · Contrast checker → · Palette generator →

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