#9BA166#9BA166

#9BA166 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.080 H 113.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9BA166
RGBrgb(155, 161, 102)
HSLhsl(66, 24%, 52%)
HSVhsv(66, 37%, 63%)
CMYKcmyk(3.7%, 0%, 36.6%, 36.9%)
CIE-LABlab(64.50, -11.68, 30.03)
CIE-LCHlch(64.50, 32.23, 111.26°)
OKLaboklab(68.98% -0.0317 0.0739)
OKLCHoklch(68.98% 0.08 113.2)
XYZxyz(28.6609, 33.4180, 17.5083)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA166 #6C66A1
analogous
#A18A66 #9BA166 #7EA166
triadic
#9BA166 #669BA1 #A1669B
tetradic
#9BA166 #66A18A #6C66A1 #A1667E
square
#9BA166 #66A18A #6C66A1 #A1667E
split-complementary
#9BA166 #667EA1 #8A66A1
monochromatic
#545736 #787D4D #9BA166 #B4B88C #CDD0B2

Accessibility & contrast

On white

2.73
#9BA166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9BA166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA166
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA166#FFFFFF#000000##000000
##9BA1661.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99C62
Deuteranopia (green-blind)
#A99D69
Tritanopia (blue-blind)
#A29B92
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba166;
/* rgb */ color: rgb(155, 161, 102);
/* oklch */ color: oklch(69.0% 0.080 113.2);
Tailwind
colors: {
  custom: {
    50: '#b9bc92',
    500: '#9ba166',
    950: '#000000',
  },
}
SCSS
$custom: #9ba166;
$custom-light: #b9bc92;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba166",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 66.102,
    "s": 23.887,
    "l": 51.569
  },
  "oklch": {
    "l": 0.68984,
    "c": 0.08041,
    "h": 113.2
  },
  "luminance": 0.33418
}

Semantic roles & 50–950 ramp

primary
#9BA166
secondary
#A7A4BE
accent
#67C070
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#11120D
muted
#80817E

Preview Lab

Preview with #9BA166

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

Preview Lab → · Contrast checker → · Palette generator →

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