#9BA06F#9BA06F

#9BA06F is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.068 H 112.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9BA06F
RGBrgb(155, 160, 111)
HSLhsl(66, 21%, 53%)
HSVhsv(66, 31%, 63%)
CMYKcmyk(3.1%, 0%, 30.6%, 37.3%)
CIE-LABlab(64.37, -9.98, 25.01)
CIE-LCHlch(64.37, 26.93, 111.75°)
OKLaboklab(68.93% -0.0264 0.0625)
OKLCHoklch(68.93% 0.068 112.9)
XYZxyz(28.9576, 33.2582, 19.9298)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA06F #746FA0
analogous
#A08C6F #9BA06F #82A06F
triadic
#9BA06F #6F9BA0 #A06F9B
tetradic
#9BA06F #6FA08C #746FA0 #A06F82
square
#9BA06F #6FA08C #746FA0 #A06F82
split-complementary
#9BA06F #6F82A0 #8C6FA0
monochromatic
#565A3B #7A7E53 #9BA06F #B5B894 #CED1B9

Accessibility & contrast

On white

2.74
#9BA06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9BA06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA06F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA06F#FFFFFF#000000##000000
##9BA06F1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba06f;
/* rgb */ color: rgb(155, 160, 111);
/* oklch */ color: oklch(68.9% 0.068 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc98',
    500: '#9ba06f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba06f;
$custom-light: #b9bc98;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba06f",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 111
  },
  "hsl": {
    "h": 66.122,
    "s": 20.502,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.0678,
    "h": 112.9
  },
  "luminance": 0.33258
}

Semantic roles & 50–950 ramp

primary
#9BA06F
secondary
#ADABC0
accent
#6BBD73
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9BA06F

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

Preview Lab → · Contrast checker → · Palette generator →

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