#9BAB30#9BAB30

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

Color values

HEX#9BAB30
RGBrgb(155, 171, 48)
HSLhsl(68, 56%, 43%)
HSVhsv(68, 72%, 67%)
CMYKcmyk(9.4%, 0%, 71.9%, 32.9%)
CIE-LABlab(66.75, -21.59, 57.89)
CIE-LCHlch(66.75, 61.79, 110.45°)
OKLaboklab(70.6% -0.0648 0.1288)
OKLCHoklch(70.6% 0.144 116.7)
XYZxyz(28.6147, 36.3082, 8.2965)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB30 #4030AB
analogous
#AB7D30 #9BAB30 #5DAB30
triadic
#9BAB30 #309BAB #AB309B
tetradic
#9BAB30 #30AB7D #4030AB #AB305D
square
#9BAB30 #30AB7D #4030AB #AB305D
split-complementary
#9BAB30 #305DAB #7D30AB
monochromatic
#444B15 #707B23 #9BAB30 #BCCD4C #CEDA7B

Accessibility & contrast

On white

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

On black

8.26
#9BAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB30
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB30#FFFFFF#000000##000000
##9BAB301.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bab30;
/* rgb */ color: rgb(155, 171, 48);
/* oklch */ color: oklch(70.6% 0.144 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc371',
    500: '#9bab30',
    950: '#000000',
  },
}
SCSS
$custom: #9bab30;
$custom-light: #bcc371;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab30",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 67.805,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.706,
    "c": 0.1442,
    "h": 116.7
  },
  "luminance": 0.36308
}

Semantic roles & 50–950 ramp

primary
#9BAB30
secondary
#7E74C3
accent
#48DF5C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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