#9BA161#9BA161

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

Color values

HEX#9BA161
RGBrgb(155, 161, 97)
HSLhsl(66, 25%, 51%)
HSVhsv(66, 40%, 63%)
CMYKcmyk(3.7%, 0%, 39.8%, 36.9%)
CIE-LABlab(64.42, -12.29, 32.59)
CIE-LCHlch(64.42, 34.83, 110.66°)
OKLaboklab(68.9% -0.0338 0.0795)
OKLCHoklch(68.9% 0.086 113)
XYZxyz(28.4204, 33.3218, 16.2415)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA161 #6761A1
analogous
#A18761 #9BA161 #7BA161
triadic
#9BA161 #619BA1 #A1619B
tetradic
#9BA161 #61A187 #6761A1 #A1617B
square
#9BA161 #61A187 #6761A1 #A1617B
split-complementary
#9BA161 #617BA1 #8761A1
monochromatic
#525533 #777B49 #9BA161 #B3B887 #CCCFAE

Accessibility & contrast

On white

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

On black

7.66
#9BA161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA161
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA161#FFFFFF#000000##000000
##9BA1611.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B5C
Deuteranopia (green-blind)
#AA9D64
Tritanopia (blue-blind)
#A29A91
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba161;
/* rgb */ color: rgb(155, 161, 97);
/* oklch */ color: oklch(68.9% 0.086 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9bc8f',
    500: '#9ba161',
    950: '#000000',
  },
}
SCSS
$custom: #9ba161;
$custom-light: #b9bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba161",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 65.625,
    "s": 25.397,
    "l": 50.588
  },
  "oklch": {
    "l": 0.68897,
    "c": 0.0864,
    "h": 113
  },
  "luminance": 0.33321
}

Semantic roles & 50–950 ramp

primary
#9BA161
secondary
#A3A1BD
accent
#66C26F
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9BA161

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

Preview Lab → · Contrast checker → · Palette generator →

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