#9BAC26#9BAC26

#9BAC26 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.151 H 116.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9BAC26
RGBrgb(155, 172, 38)
HSLhsl(68, 64%, 41%)
HSVhsv(68, 78%, 67%)
CMYKcmyk(9.9%, 0%, 77.9%, 32.5%)
CIE-LABlab(66.99, -22.57, 61.49)
CIE-LCHlch(66.99, 65.50, 110.15°)
OKLaboklab(70.77% -0.0684 0.1347)
OKLCHoklch(70.77% 0.151 116.9)
XYZxyz(28.6207, 36.6139, 7.3928)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC26 #3726AC
analogous
#AC7A26 #9BAC26 #58AC26
triadic
#9BAC26 #269BAC #AC269B
tetradic
#9BAC26 #26AC7A #3726AC #AC2658
square
#9BAC26 #26AC7A #3726AC #AC2658
split-complementary
#9BAC26 #2658AC #7A26AC
monochromatic
#414810 #6E7A1B #9BAC26 #C0D43B #D0DF6E

Accessibility & contrast

On white

2.52
#9BAC26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9BAC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC26
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC26#FFFFFF#000000##000000
##9BAC261.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac26;
/* rgb */ color: rgb(155, 172, 38);
/* oklch */ color: oklch(70.8% 0.151 116.9);
Tailwind
colors: {
  custom: {
    50: '#bcc46c',
    500: '#9bac26',
    950: '#000000',
  },
}
SCSS
$custom: #9bac26;
$custom-light: #bcc46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac26",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 67.612,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70769,
    "c": 0.15103,
    "h": 116.9
  },
  "luminance": 0.36614
}

Semantic roles & 50–950 ramp

primary
#9BAC26
secondary
#7468C5
accent
#41E756
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAC26

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

Preview Lab → · Contrast checker → · Palette generator →

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