#9BA950#9BA950

#9BA950 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.116 H 116.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9BA950
RGBrgb(155, 169, 80)
HSLhsl(69, 36%, 49%)
HSVhsv(69, 53%, 66%)
CMYKcmyk(8.3%, 0%, 52.7%, 33.7%)
CIE-LABlab(66.46, -18.24, 43.73)
CIE-LCHlch(66.46, 47.38, 112.64°)
OKLaboklab(70.46% -0.0522 0.103)
OKLCHoklch(70.46% 0.116 116.9)
XYZxyz(29.1539, 35.9240, 12.9861)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA950 #5E50A9
analogous
#A98B50 #9BA950 #6FA950
triadic
#9BA950 #509BA9 #A9509B
tetradic
#9BA950 #50A98B #5E50A9 #A9506F
square
#9BA950 #50A98B #5E50A9 #A9506F
split-complementary
#9BA950 #506FA9 #8B50A9
monochromatic
#4F5629 #757F3C #9BA950 #B4BF77 #CBD2A1

Accessibility & contrast

On white

2.57
#9BA950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9BA950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA950
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA950#FFFFFF#000000##000000
##9BA9501.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A148
Deuteranopia (green-blind)
#B2A255
Tritanopia (blue-blind)
#A3A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9ba950;
/* rgb */ color: rgb(155, 169, 80);
/* oklch */ color: oklch(70.5% 0.116 116.9);
Tailwind
colors: {
  custom: {
    50: '#bac284',
    500: '#9ba950',
    950: '#000000',
  },
}
SCSS
$custom: #9ba950;
$custom-light: #bac284;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba950",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 69.438,
    "s": 35.743,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70455,
    "c": 0.11551,
    "h": 116.9
  },
  "luminance": 0.35924
}

Semantic roles & 50–950 ramp

primary
#9BA950
secondary
#9C95C0
accent
#5CCC6E
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA950

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

Preview Lab → · Contrast checker → · Palette generator →

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