#9BAB35#9BAB35

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

Color values

HEX#9BAB35
RGBrgb(155, 171, 53)
HSLhsl(68, 53%, 44%)
HSVhsv(68, 69%, 67%)
CMYKcmyk(9.4%, 0%, 69%, 32.9%)
CIE-LABlab(66.79, -21.31, 56.03)
CIE-LCHlch(66.79, 59.95, 110.82°)
OKLaboklab(70.64% -0.0636 0.1257)
OKLCHoklch(70.64% 0.141 116.8)
XYZxyz(28.7237, 36.3518, 8.8709)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB35 #4535AB
analogous
#AB8035 #9BAB35 #60AB35
triadic
#9BAB35 #359BAB #AB359B
tetradic
#9BAB35 #35AB80 #4535AB #AB3560
square
#9BAB35 #35AB80 #4535AB #AB3560
split-complementary
#9BAB35 #3560AB #8035AB
monochromatic
#464E18 #717C27 #9BAB35 #BACA53 #CDD882

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAB35#FFFFFF#000000##000000
##9BAB351.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)
#B7A223
Deuteranopia (green-blind)
#B5A33E
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab35;
/* rgb */ color: rgb(155, 171, 53);
/* oklch */ color: oklch(70.6% 0.141 116.8);
Tailwind
colors: {
  custom: {
    50: '#bbc373',
    500: '#9bab35',
    950: '#000000',
  },
}
SCSS
$custom: #9bab35;
$custom-light: #bbc373;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab35",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 68.136,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.14088,
    "h": 116.8
  },
  "luminance": 0.36351
}

Semantic roles & 50–950 ramp

primary
#9BAB35
secondary
#847AC2
accent
#4CDC5F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB35

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

Preview Lab → · Contrast checker → · Palette generator →

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