#9BAC27#9BAC27

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

Color values

HEX#9BAC27
RGBrgb(155, 172, 39)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 77%, 67%)
CMYKcmyk(9.9%, 0%, 77.3%, 32.5%)
CIE-LABlab(66.99, -22.52, 61.18)
CIE-LCHlch(66.99, 65.20, 110.21°)
OKLaboklab(70.77% -0.0682 0.1342)
OKLCHoklch(70.77% 0.151 116.9)
XYZxyz(28.6370, 36.6205, 7.4789)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC27 #3827AC
analogous
#AC7B27 #9BAC27 #59AC27
triadic
#9BAC27 #279BAC #AC279B
tetradic
#9BAC27 #27AC7B #3827AC #AC2759
square
#9BAC27 #27AC7B #3827AC #AC2759
split-complementary
#9BAC27 #2759AC #7B27AC
monochromatic
#414810 #6E7A1C #9BAC27 #C0D33D #D0DE6F

Accessibility & contrast

On white

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

On black

8.32
#9BAC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC27
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC27#FFFFFF#000000##000000
##9BAC271.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bac27;
/* rgb */ color: rgb(155, 172, 39);
/* oklch */ color: oklch(70.8% 0.151 116.9);
Tailwind
colors: {
  custom: {
    50: '#bcc46d',
    500: '#9bac27',
    950: '#000000',
  },
}
SCSS
$custom: #9bac27;
$custom-light: #bcc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac27",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 67.669,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.15051,
    "h": 116.9
  },
  "luminance": 0.3662
}

Semantic roles & 50–950 ramp

primary
#9BAC27
secondary
#756AC5
accent
#42E657
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC27

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

Preview Lab → · Contrast checker → · Palette generator →

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