#9BB41C#9BB41C

#9BB41C is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.6% C 0.164 H 119.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9BB41C
RGBrgb(155, 180, 28)
HSLhsl(70, 73%, 41%)
HSVhsv(70, 84%, 71%)
CMYKcmyk(13.9%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.25, -26.85, 66.19)
CIE-LCHlch(69.25, 71.43, 112.08°)
OKLaboklab(72.58% -0.0808 0.143)
OKLCHoklch(72.58% 0.164 119.5)
XYZxyz(30.0491, 39.6951, 7.1773)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB41C #351CB4
analogous
#B4811C #9BB41C #4FB41C
triadic
#9BB41C #1C9BB4 #B41C9B
tetradic
#9BB41C #1CB481 #351CB4 #B41C4F
square
#9BB41C #1CB481 #351CB4 #B41C4F
split-complementary
#9BB41C #1C4FB4 #811CB4
monochromatic
#404A0C #6D7F14 #9BB41C #C2DF2F #D1E764

Accessibility & contrast

On white

2.35
#9BB41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#9BB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB41C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB41C#FFFFFF#000000##000000
##9BB41C1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#A5AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9bb41c;
/* rgb */ color: rgb(155, 180, 28);
/* oklch */ color: oklch(72.6% 0.164 119.5);
Tailwind
colors: {
  custom: {
    50: '#bdca69',
    500: '#9bb41c',
    950: '#000000',
  },
}
SCSS
$custom: #9bb41c;
$custom-light: #bdca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb41c",
  "rgb": {
    "r": 155,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 69.868,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.7258,
    "c": 0.16428,
    "h": 119.5
  },
  "luminance": 0.39695
}

Semantic roles & 50–950 ramp

primary
#9BB41C
secondary
#7260CC
accent
#38F056
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9BB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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