#9BAA26#9BAA26

#9BAA26 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.149 H 116.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9BAA26
RGBrgb(155, 170, 38)
HSLhsl(67, 63%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(8.8%, 0%, 77.6%, 33.3%)
CIE-LABlab(66.41, -21.57, 60.96)
CIE-LCHlch(66.41, 64.67, 109.49°)
OKLaboklab(70.31% -0.0656 0.1335)
OKLCHoklch(70.31% 0.149 116.2)
XYZxyz(28.2429, 35.8584, 7.2669)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA26 #3526AA
analogous
#AA7726 #9BAA26 #59AA26
triadic
#9BAA26 #269BAA #AA269B
tetradic
#9BAA26 #26AA77 #3526AA #AA2659
square
#9BAA26 #26AA77 #3526AA #AA2659
split-complementary
#9BAA26 #2659AA #7726AA
monochromatic
#404610 #6D781B #9BAA26 #C2D33A #D1DE6C

Accessibility & contrast

On white

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

On black

8.17
#9BAA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA26
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA26#FFFFFF#000000##000000
##9BAA261.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa26;
/* rgb */ color: rgb(155, 170, 38);
/* oklch */ color: oklch(70.3% 0.149 116.2);
Tailwind
colors: {
  custom: {
    50: '#bcc36c',
    500: '#9baa26',
    950: '#000000',
  },
}
SCSS
$custom: #9baa26;
$custom-light: #bcc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa26",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 66.818,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70307,
    "c": 0.1488,
    "h": 116.2
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

primary
#9BAA26
secondary
#7267C5
accent
#41E654
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA26

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

Preview Lab → · Contrast checker → · Palette generator →

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