#9BA757#9BA757

#9BA757 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.1% C 0.106 H 116.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9BA757
RGBrgb(155, 167, 87)
HSLhsl(69, 31%, 50%)
HSVhsv(69, 48%, 65%)
CMYKcmyk(7.2%, 0%, 47.9%, 34.5%)
CIE-LABlab(65.98, -16.52, 39.69)
CIE-LCHlch(65.98, 42.99, 112.60°)
OKLaboklab(70.09% -0.0467 0.0948)
OKLCHoklch(70.09% 0.106 116.2)
XYZxyz(29.0569, 35.2944, 14.2968)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA757 #6357A7
analogous
#A78B57 #9BA757 #73A757
triadic
#9BA757 #579BA7 #A7579B
tetradic
#9BA757 #57A78B #6357A7 #A75773
square
#9BA757 #57A78B #6357A7 #A75773
split-complementary
#9BA757 #5773A7 #8B57A7
monochromatic
#50572D #767F42 #9BA757 #B3BC7F #CBD1A7

Accessibility & contrast

On white

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

On black

8.06
#9BA757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA757
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA757#FFFFFF#000000##000000
##9BA7571.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A050
Deuteranopia (green-blind)
#AFA15B
Tritanopia (blue-blind)
#A39F94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba757;
/* rgb */ color: rgb(155, 167, 87);
/* oklch */ color: oklch(70.1% 0.106 116.2);
Tailwind
colors: {
  custom: {
    50: '#bac188',
    500: '#9ba757',
    950: '#000000',
  },
}
SCSS
$custom: #9ba757;
$custom-light: #bac188;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba757",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 87
  },
  "hsl": {
    "h": 69,
    "s": 31.496,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70094,
    "c": 0.10567,
    "h": 116.2
  },
  "luminance": 0.35294
}

Semantic roles & 50–950 ramp

primary
#9BA757
secondary
#A09BBF
accent
#60C870
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA757

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

Preview Lab → · Contrast checker → · Palette generator →

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