#9BA65C#9BA65C

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

Color values

HEX#9BA65C
RGBrgb(155, 166, 92)
HSLhsl(69, 29%, 51%)
HSVhsv(69, 45%, 65%)
CMYKcmyk(6.6%, 0%, 44.6%, 34.9%)
CIE-LABlab(65.76, -15.47, 36.88)
CIE-LCHlch(65.76, 39.99, 112.76°)
OKLaboklab(69.94% -0.0433 0.0889)
OKLCHoklch(69.94% 0.099 116)
XYZxyz(29.0858, 35.0140, 15.3493)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA65C #675CA6
analogous
#A68C5C #9BA65C #76A65C
triadic
#9BA65C #5C9BA6 #A65C9B
tetradic
#9BA65C #5CA68C #675CA6 #A65C76
square
#9BA65C #5CA68C #675CA6 #A65C76
split-complementary
#9BA65C #5C76A6 #8C5CA6
monochromatic
#525830 #777F46 #9BA65C #B3BC84 #CCD1AB

Accessibility & contrast

On white

2.62
#9BA65C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9BA65C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA65C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA65C#FFFFFF#000000##000000
##9BA65C1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F56
Deuteranopia (green-blind)
#AEA060
Tritanopia (blue-blind)
#A29F94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba65c;
/* rgb */ color: rgb(155, 166, 92);
/* oklch */ color: oklch(69.9% 0.099 116.0);
Tailwind
colors: {
  custom: {
    50: '#bac08b',
    500: '#9ba65c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba65c;
$custom-light: #bac08b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba65c",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 92
  },
  "hsl": {
    "h": 68.919,
    "s": 29.365,
    "l": 50.588
  },
  "oklch": {
    "l": 0.69942,
    "c": 0.09887,
    "h": 116
  },
  "luminance": 0.35014
}

Semantic roles & 50–950 ramp

primary
#9BA65C
secondary
#A39EBF
accent
#62C671
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9BA65C

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

Preview Lab → · Contrast checker → · Palette generator →

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