#9BAB33#9BAB33

#9BAB33 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.142 H 116.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9BAB33
RGBrgb(155, 171, 51)
HSLhsl(68, 54%, 44%)
HSVhsv(68, 70%, 67%)
CMYKcmyk(9.4%, 0%, 70.2%, 32.9%)
CIE-LABlab(66.77, -21.43, 56.79)
CIE-LCHlch(66.77, 60.70, 110.67°)
OKLaboklab(70.62% -0.0641 0.127)
OKLCHoklch(70.62% 0.142 116.8)
XYZxyz(28.6787, 36.3338, 8.6337)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB33 #4333AB
analogous
#AB7F33 #9BAB33 #5FAB33
triadic
#9BAB33 #339BAB #AB339B
tetradic
#9BAB33 #33AB7F #4333AB #AB335F
square
#9BAB33 #33AB7F #4333AB #AB335F
split-complementary
#9BAB33 #335FAB #7F33AB
monochromatic
#464D17 #707C25 #9BAB33 #BBCB50 #CDD97F

Accessibility & contrast

On white

2.54
#9BAB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9BAB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB33
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB33#FFFFFF#000000##000000
##9BAB331.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21F
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab33;
/* rgb */ color: rgb(155, 171, 51);
/* oklch */ color: oklch(70.6% 0.142 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc372',
    500: '#9bab33',
    950: '#000000',
  },
}
SCSS
$custom: #9bab33;
$custom-light: #bcc372;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab33",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 68,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70622,
    "c": 0.14224,
    "h": 116.8
  },
  "luminance": 0.36333
}

Semantic roles & 50–950 ramp

primary
#9BAB33
secondary
#8278C2
accent
#4ADD5E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB33

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

Preview Lab → · Contrast checker → · Palette generator →

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