#9BA751#9BA751

#9BA751 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.112 H 115.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9BA751
RGBrgb(155, 167, 81)
HSLhsl(68, 35%, 49%)
HSVhsv(68, 51%, 65%)
CMYKcmyk(7.2%, 0%, 51.5%, 34.5%)
CIE-LABlab(65.90, -17.12, 42.58)
CIE-LCHlch(65.90, 45.90, 111.90°)
OKLaboklab(70.01% -0.0489 0.1006)
OKLCHoklch(70.01% 0.112 115.9)
XYZxyz(28.8219, 35.2004, 13.0590)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA751 #5D51A7
analogous
#A78851 #9BA751 #70A751
triadic
#9BA751 #519BA7 #A7519B
tetradic
#9BA751 #51A788 #5D51A7 #A75170
square
#9BA751 #51A788 #5D51A7 #A75170
split-complementary
#9BA751 #5170A7 #8851A7
monochromatic
#4E5529 #757E3D #9BA751 #B4BD78 #CBD1A1

Accessibility & contrast

On white

2.61
#9BA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9BA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA751
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA751#FFFFFF#000000##000000
##9BA7511.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A049
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#A39F93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba751;
/* rgb */ color: rgb(155, 167, 81);
/* oklch */ color: oklch(70.0% 0.112 115.9);
Tailwind
colors: {
  custom: {
    50: '#bac184',
    500: '#9ba751',
    950: '#000000',
  },
}
SCSS
$custom: #9ba751;
$custom-light: #bac184;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba751",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 68.372,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70013,
    "c": 0.11191,
    "h": 115.9
  },
  "luminance": 0.352
}

Semantic roles & 50–950 ramp

primary
#9BA751
secondary
#9B95BF
accent
#5DCB6C
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA751

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

Preview Lab → · Contrast checker → · Palette generator →

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