#9BA357#9BA357

#9BA357 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.100 H 114.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9BA357
RGBrgb(155, 163, 87)
HSLhsl(66, 30%, 49%)
HSVhsv(66, 47%, 64%)
CMYKcmyk(4.9%, 0%, 46.6%, 36.1%)
CIE-LABlab(64.84, -14.45, 38.31)
CIE-LCHlch(64.84, 40.94, 110.67°)
OKLaboklab(69.19% -0.0408 0.0917)
OKLCHoklch(69.19% 0.1 114)
XYZxyz(28.3354, 33.8515, 14.0563)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA357 #5F57A3
analogous
#A38557 #9BA357 #75A357
triadic
#9BA357 #579BA3 #A3579B
tetradic
#9BA357 #57A385 #5F57A3 #A35775
square
#9BA357 #57A385 #5F57A3 #A35775
split-complementary
#9BA357 #5775A3 #8557A3
monochromatic
#4F532C #757B42 #9BA357 #B3BA7D #CBCFA5

Accessibility & contrast

On white

2.70
#9BA357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9BA357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA357
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA357#FFFFFF#000000##000000
##9BA3571.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D51
Deuteranopia (green-blind)
#AC9E5B
Tritanopia (blue-blind)
#A39B91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba357;
/* rgb */ color: rgb(155, 163, 87);
/* oklch */ color: oklch(69.2% 0.100 114.0);
Tailwind
colors: {
  custom: {
    50: '#babe88',
    500: '#9ba357',
    950: '#000000',
  },
}
SCSS
$custom: #9ba357;
$custom-light: #babe88;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba357",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 87
  },
  "hsl": {
    "h": 66.316,
    "s": 30.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69189,
    "c": 0.10041,
    "h": 114
  },
  "luminance": 0.33851
}

Semantic roles & 50–950 ramp

primary
#9BA357
secondary
#9D99BD
accent
#61C76C
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA357

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

Preview Lab → · Contrast checker → · Palette generator →

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