#9BAB26#9BAB26

#9BAB26 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.150 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9BAB26
RGBrgb(155, 171, 38)
HSLhsl(67, 64%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(9.4%, 0%, 77.8%, 32.9%)
CIE-LABlab(66.70, -22.07, 61.23)
CIE-LCHlch(66.70, 65.08, 109.82°)
OKLaboklab(70.54% -0.067 0.1341)
OKLCHoklch(70.54% 0.15 116.6)
XYZxyz(28.4311, 36.2347, 7.3296)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB26 #3626AB
analogous
#AB7826 #9BAB26 #58AB26
triadic
#9BAB26 #269BAB #AB269B
tetradic
#9BAB26 #26AB78 #3626AB #AB2658
square
#9BAB26 #26AB78 #3626AB #AB2658
split-complementary
#9BAB26 #2658AB #7826AB
monochromatic
#404710 #6E791B #9BAB26 #C1D33B #D1DF6D

Accessibility & contrast

On white

2.55
#9BAB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9BAB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB26
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB26#FFFFFF#000000##000000
##9BAB261.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab26;
/* rgb */ color: rgb(155, 171, 38);
/* oklch */ color: oklch(70.5% 0.150 116.6);
Tailwind
colors: {
  custom: {
    50: '#bcc36c',
    500: '#9bab26',
    950: '#000000',
  },
}
SCSS
$custom: #9bab26;
$custom-light: #bcc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab26",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 67.218,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70538,
    "c": 0.14991,
    "h": 116.6
  },
  "luminance": 0.36234
}

Semantic roles & 50–950 ramp

primary
#9BAB26
secondary
#7368C5
accent
#41E755
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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