#9BA26F#9BA26F

#9BA26F is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.071 H 114.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9BA26F
RGBrgb(155, 162, 111)
HSLhsl(68, 22%, 54%)
HSVhsv(68, 31%, 64%)
CMYKcmyk(4.3%, 0%, 31.5%, 36.5%)
CIE-LABlab(64.93, -11.04, 25.75)
CIE-LCHlch(64.93, 28.02, 113.20°)
OKLaboklab(69.38% -0.0294 0.0642)
OKLCHoklch(69.38% 0.071 114.6)
XYZxyz(29.3071, 33.9572, 20.0463)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA26F #766FA2
analogous
#A28F6F #9BA26F #81A26F
triadic
#9BA26F #6F9BA2 #A26F9B
tetradic
#9BA26F #6FA28F #766FA2 #A26F81
square
#9BA26F #6FA28F #766FA2 #A26F81
split-complementary
#9BA26F #6F81A2 #8F6FA2
monochromatic
#575C3B #7A8153 #9BA26F #B5BA94 #CFD2B9

Accessibility & contrast

On white

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

On black

7.79
#9BA26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA26F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA26F#FFFFFF#000000##000000
##9BA26F1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99D6C
Deuteranopia (green-blind)
#A99E71
Tritanopia (blue-blind)
#A19C95
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba26f;
/* rgb */ color: rgb(155, 162, 111);
/* oklch */ color: oklch(69.4% 0.071 114.6);
Tailwind
colors: {
  custom: {
    50: '#b9bd99',
    500: '#9ba26f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba26f;
$custom-light: #b9bd99;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba26f",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 111
  },
  "hsl": {
    "h": 68.235,
    "s": 21.519,
    "l": 53.529
  },
  "oklch": {
    "l": 0.69376,
    "c": 0.07063,
    "h": 114.6
  },
  "luminance": 0.33957
}

Semantic roles & 50–950 ramp

primary
#9BA26F
secondary
#AEABC1
accent
#6ABE75
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9BA26F

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

Preview Lab → · Contrast checker → · Palette generator →

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