#9BA147#9BA147

#9BA147 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.114 H 112.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9BA147
RGBrgb(155, 161, 71)
HSLhsl(64, 39%, 45%)
HSVhsv(64, 56%, 63%)
CMYKcmyk(3.7%, 0%, 55.9%, 36.9%)
CIE-LABlab(64.09, -14.92, 45.31)
CIE-LCHlch(64.09, 47.70, 108.23°)
OKLaboklab(68.53% -0.0437 0.1055)
OKLCHoklch(68.53% 0.114 112.5)
XYZxyz(27.4004, 32.9138, 10.8696)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA147 #4D47A1
analogous
#A17A47 #9BA147 #6EA147
triadic
#9BA147 #479BA1 #A1479B
tetradic
#9BA147 #47A17A #4D47A1 #A1476E
square
#9BA147 #47A17A #4D47A1 #A1476E
split-complementary
#9BA147 #476EA1 #7A47A1
monochromatic
#494C22 #727734 #9BA147 #B7BD69 #CBCF93

Accessibility & contrast

On white

2.77
#9BA147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#9BA147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA147
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA147#FFFFFF#000000##000000
##9BA1471.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3E
Deuteranopia (green-blind)
#AC9C4C
Tritanopia (blue-blind)
#A4988D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba147;
/* rgb */ color: rgb(155, 161, 71);
/* oklch */ color: oklch(68.5% 0.114 112.5);
Tailwind
colors: {
  custom: {
    50: '#babc7d',
    500: '#9ba147',
    950: '#000000',
  },
}
SCSS
$custom: #9ba147;
$custom-light: #babc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba147",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 64,
    "s": 38.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68527,
    "c": 0.11422,
    "h": 112.5
  },
  "luminance": 0.32913
}

Semantic roles & 50–950 ramp

primary
#9BA147
secondary
#8C89BB
accent
#59CF61
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9BA147

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

Preview Lab → · Contrast checker → · Palette generator →

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