#9BA366#9BA366

#9BA366 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.083 H 114.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9BA366
RGBrgb(155, 163, 102)
HSLhsl(68, 25%, 52%)
HSVhsv(68, 37%, 64%)
CMYKcmyk(4.9%, 0%, 37.4%, 36.1%)
CIE-LABlab(65.06, -12.74, 30.76)
CIE-LCHlch(65.06, 33.29, 112.49°)
OKLaboklab(69.43% -0.0347 0.0756)
OKLCHoklch(69.43% 0.083 114.7)
XYZxyz(29.0132, 34.1226, 17.6257)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA366 #6E66A3
analogous
#A38D66 #9BA366 #7DA366
triadic
#9BA366 #669BA3 #A3669B
tetradic
#9BA366 #66A38D #6E66A3 #A3667D
square
#9BA366 #66A38D #6E66A3 #A3667D
split-complementary
#9BA366 #667DA3 #8D66A3
monochromatic
#545936 #797F4D #9BA366 #B4BA8C #CDD1B2

Accessibility & contrast

On white

2.68
#9BA366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9BA366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA366
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA366#FFFFFF#000000##000000
##9BA3661.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D62
Deuteranopia (green-blind)
#AB9F69
Tritanopia (blue-blind)
#A29D94
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba366;
/* rgb */ color: rgb(155, 163, 102);
/* oklch */ color: oklch(69.4% 0.083 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9be92',
    500: '#9ba366',
    950: '#000000',
  },
}
SCSS
$custom: #9ba366;
$custom-light: #b9be92;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba366",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 67.869,
    "s": 24.898,
    "l": 51.961
  },
  "oklch": {
    "l": 0.69431,
    "c": 0.08316,
    "h": 114.7
  },
  "luminance": 0.34122
}

Semantic roles & 50–950 ramp

primary
#9BA366
secondary
#A9A5C0
accent
#66C172
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#11120D
muted
#80817E

Preview Lab

Preview with #9BA366

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

Preview Lab → · Contrast checker → · Palette generator →

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