#9BA565#9BA565

#9BA565 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.087 H 116.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9BA565
RGBrgb(155, 165, 101)
HSLhsl(69, 26%, 52%)
HSVhsv(69, 39%, 65%)
CMYKcmyk(6.1%, 0%, 38.8%, 35.3%)
CIE-LABlab(65.61, -13.91, 31.99)
CIE-LCHlch(65.61, 34.88, 113.50°)
OKLaboklab(69.86% -0.0381 0.0783)
OKLCHoklch(69.86% 0.087 116)
XYZxyz(29.3218, 34.8187, 17.4854)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA565 #6F65A5
analogous
#A58F65 #9BA565 #7BA565
triadic
#9BA565 #659BA5 #A5659B
tetradic
#9BA565 #65A58F #6F65A5 #A5657B
square
#9BA565 #65A58F #6F65A5 #A5657B
split-complementary
#9BA565 #657BA5 #8F65A5
monochromatic
#555B35 #79814C #9BA565 #B4BC8C #CDD2B2

Accessibility & contrast

On white

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

On black

7.96
#9BA565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA565
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA565#FFFFFF#000000##000000
##9BA5651.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F60
Deuteranopia (green-blind)
#ACA068
Tritanopia (blue-blind)
#A29E95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba565;
/* rgb */ color: rgb(155, 165, 101);
/* oklch */ color: oklch(69.9% 0.087 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9bf92',
    500: '#9ba565',
    950: '#000000',
  },
}
SCSS
$custom: #9ba565;
$custom-light: #b9bf92;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba565",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 101
  },
  "hsl": {
    "h": 69.375,
    "s": 26.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.69863,
    "c": 0.08713,
    "h": 116
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#9BA565
secondary
#A9A5C1
accent
#65C374
background
#FBFBF9
surface
#F6F7F1
border
#D0D0CB
text
#11120D
muted
#80817E

Preview Lab

Preview with #9BA565

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

Preview Lab → · Contrast checker → · Palette generator →

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