#9BAB28#9BAB28

#9BAB28 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.149 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9BAB28
RGBrgb(155, 171, 40)
HSLhsl(67, 62%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(9.4%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.71, -21.98, 60.60)
CIE-LCHlch(66.71, 64.47, 109.94°)
OKLaboklab(70.55% -0.0666 0.1331)
OKLCHoklch(70.55% 0.149 116.6)
XYZxyz(28.4642, 36.2480, 7.5042)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB28 #3828AB
analogous
#AB7A28 #9BAB28 #5AAB28
triadic
#9BAB28 #289BAB #AB289B
tetradic
#9BAB28 #28AB7A #3828AB #AB285A
square
#9BAB28 #28AB7A #3828AB #AB285A
split-complementary
#9BAB28 #285AAB #7A28AB
monochromatic
#414811 #6E791C #9BAB28 #C0D23E #D0DE70

Accessibility & contrast

On white

2.55
#9BAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9BAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB28
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB28#FFFFFF#000000##000000
##9BAB281.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A205
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab28;
/* rgb */ color: rgb(155, 171, 40);
/* oklch */ color: oklch(70.5% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#bcc36d',
    500: '#9bab28',
    950: '#000000',
  },
}
SCSS
$custom: #9bab28;
$custom-light: #bcc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab28",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 67.328,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70549,
    "c": 0.14886,
    "h": 116.6
  },
  "luminance": 0.36248
}

Semantic roles & 50–950 ramp

primary
#9BAB28
secondary
#756AC4
accent
#43E556
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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