#9BAB27#9BAB27

#9BAB27 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#9BAB27
RGBrgb(155, 171, 39)
HSLhsl(67, 63%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(9.4%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.70, -22.03, 60.92)
CIE-LCHlch(66.70, 64.78, 109.88°)
OKLaboklab(70.54% -0.0668 0.1336)
OKLCHoklch(70.54% 0.149 116.6)
XYZxyz(28.4474, 36.2413, 7.4157)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB27 #3727AB
analogous
#AB7927 #9BAB27 #59AB27
triadic
#9BAB27 #279BAB #AB279B
tetradic
#9BAB27 #27AB79 #3727AB #AB2759
square
#9BAB27 #27AB79 #3727AB #AB2759
split-complementary
#9BAB27 #2759AB #7927AB
monochromatic
#414710 #6E791C #9BAB27 #C0D33D #D0DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAB27#FFFFFF#000000##000000
##9BAB271.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)
#B7A202
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab27;
/* rgb */ color: rgb(155, 171, 39);
/* oklch */ color: oklch(70.5% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#bcc36c',
    500: '#9bab27',
    950: '#000000',
  },
}
SCSS
$custom: #9bab27;
$custom-light: #bcc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab27",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 67.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70543,
    "c": 0.14939,
    "h": 116.6
  },
  "luminance": 0.36241
}

Semantic roles & 50–950 ramp

primary
#9BAB27
secondary
#7469C5
accent
#42E656
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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