#9BA07C#9BA07C

#9BA07C is a light, muted yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.051 H 114.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9BA07C
RGBrgb(155, 160, 124)
HSLhsl(68, 16%, 56%)
HSVhsv(68, 23%, 63%)
CMYKcmyk(3.1%, 0%, 22.5%, 37.3%)
CIE-LABlab(64.62, -8.09, 18.22)
CIE-LCHlch(64.62, 19.93, 113.95°)
OKLaboklab(69.21% -0.0208 0.0463)
OKLCHoklch(69.21% 0.051 114.2)
XYZxyz(29.7262, 33.5656, 23.9777)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA07C #817CA0
analogous
#A0937C #9BA07C #89A07C
triadic
#9BA07C #7C9BA0 #A07C9B
tetradic
#9BA07C #7CA093 #817CA0 #A07C89
square
#9BA07C #7CA093 #817CA0 #A07C89
split-complementary
#9BA07C #7C89A0 #937CA0
monochromatic
#5A5E44 #7C815E #9BA07C #B6BA9F #D1D3C3

Accessibility & contrast

On white

2.72
#9BA07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9BA07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA07C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA07C#FFFFFF#000000##000000
##9BA07C1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59C7A
Deuteranopia (green-blind)
#A59D7D
Tritanopia (blue-blind)
#9F9C96
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba07c;
/* rgb */ color: rgb(155, 160, 124);
/* oklch */ color: oklch(69.2% 0.051 114.2);
Tailwind
colors: {
  custom: {
    50: '#b8bca2',
    500: '#9ba07c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba07c;
$custom-light: #b8bca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba07c",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 124
  },
  "hsl": {
    "h": 68.333,
    "s": 15.929,
    "l": 55.686
  },
  "oklch": {
    "l": 0.69208,
    "c": 0.05079,
    "h": 114.2
  },
  "luminance": 0.33565
}

Semantic roles & 50–950 ramp

primary
#9BA07C
secondary
#B6B4C3
accent
#6FB979
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120F
muted
#80817E

Preview Lab

Preview with #9BA07C

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

Preview Lab → · Contrast checker → · Palette generator →

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