#9BAC28#9BAC28

#9BAC28 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.150 H 117.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#9BAC28
RGBrgb(155, 172, 40)
HSLhsl(68, 62%, 42%)
HSVhsv(68, 77%, 67%)
CMYKcmyk(9.9%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.00, -22.48, 60.87)
CIE-LCHlch(67.00, 64.89, 110.27°)
OKLaboklab(70.78% -0.068 0.1337)
OKLCHoklch(70.78% 0.15 117)
XYZxyz(28.6538, 36.6272, 7.5674)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC28 #3928AC
analogous
#AC7B28 #9BAC28 #59AC28
triadic
#9BAC28 #289BAC #AC289B
tetradic
#9BAC28 #28AC7B #3928AC #AC2859
square
#9BAC28 #28AC7B #3928AC #AC2859
split-complementary
#9BAC28 #2859AC #7B28AC
monochromatic
#424911 #6E7A1C #9BAC28 #BFD23F #D0DE71

Accessibility & contrast

On white

2.52
#9BAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#9BAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC28
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC28#FFFFFF#000000##000000
##9BAC281.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A304
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac28;
/* rgb */ color: rgb(155, 172, 40);
/* oklch */ color: oklch(70.8% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#bcc46d',
    500: '#9bac28',
    950: '#000000',
  },
}
SCSS
$custom: #9bac28;
$custom-light: #bcc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac28",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 67.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.14999,
    "h": 117
  },
  "luminance": 0.36627
}

Semantic roles & 50–950 ramp

primary
#9BAC28
secondary
#776BC5
accent
#42E557
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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