#9BA560#9BA560

#9BA560 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.093 H 115.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9BA560
RGBrgb(155, 165, 96)
HSLhsl(69, 28%, 51%)
HSVhsv(69, 42%, 65%)
CMYKcmyk(6.1%, 0%, 41.8%, 35.3%)
CIE-LABlab(65.53, -14.50, 34.52)
CIE-LCHlch(65.53, 37.44, 112.79°)
OKLaboklab(69.78% -0.0402 0.0838)
OKLCHoklch(69.78% 0.093 115.6)
XYZxyz(29.0842, 34.7237, 16.2342)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA560 #6A60A5
analogous
#A58C60 #9BA560 #78A560
triadic
#9BA560 #609BA5 #A5609B
tetradic
#9BA560 #60A58C #6A60A5 #A56078
square
#9BA560 #60A58C #6A60A5 #A56078
split-complementary
#9BA560 #6078A5 #8C60A5
monochromatic
#535932 #788048 #9BA560 #B4BB87 #CCD1AE

Accessibility & contrast

On white

2.64
#9BA560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#9BA560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA560
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA560#FFFFFF#000000##000000
##9BA5601.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5B
Deuteranopia (green-blind)
#ADA063
Tritanopia (blue-blind)
#A29E94
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba560;
/* rgb */ color: rgb(155, 165, 96);
/* oklch */ color: oklch(69.8% 0.093 115.6);
Tailwind
colors: {
  custom: {
    50: '#b9bf8e',
    500: '#9ba560',
    950: '#000000',
  },
}
SCSS
$custom: #9ba560;
$custom-light: #b9bf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba560",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 96
  },
  "hsl": {
    "h": 68.696,
    "s": 27.711,
    "l": 51.176
  },
  "oklch": {
    "l": 0.69779,
    "c": 0.09298,
    "h": 115.6
  },
  "luminance": 0.34723
}

Semantic roles & 50–950 ramp

primary
#9BA560
secondary
#A6A1C0
accent
#64C472
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9BA560

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

Preview Lab → · Contrast checker → · Palette generator →

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