#9BAC20#9BAC20

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

Color values

HEX#9BAC20
RGBrgb(155, 172, 32)
HSLhsl(67, 69%, 40%)
HSVhsv(67, 81%, 67%)
CMYKcmyk(9.9%, 0%, 81.4%, 32.5%)
CIE-LABlab(66.96, -22.80, 63.21)
CIE-LCHlch(66.96, 67.19, 109.83°)
OKLaboklab(70.74% -0.0695 0.1373)
OKLCHoklch(70.74% 0.154 116.8)
XYZxyz(28.5316, 36.5783, 6.9235)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC20 #3120AC
analogous
#AC7720 #9BAC20 #55AC20
triadic
#9BAC20 #209BAC #AC209B
tetradic
#9BAC20 #20AC77 #3120AC #AC2055
square
#9BAC20 #20AC77 #3120AC #AC2055
split-complementary
#9BAC20 #2055AC #7720AC
monochromatic
#3E450D #6C7816 #9BAC20 #C4D931 #D3E264

Accessibility & contrast

On white

2.53
#9BAC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAC20#FFFFFF#000000##000000
##9BAC201.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bac20;
/* rgb */ color: rgb(155, 172, 32);
/* oklch */ color: oklch(70.7% 0.154 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc46a',
    500: '#9bac20',
    950: '#000000',
  },
}
SCSS
$custom: #9bac20;
$custom-light: #bcc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac20",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 67.286,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.70739,
    "c": 0.15385,
    "h": 116.8
  },
  "luminance": 0.36578
}

Semantic roles & 50–950 ramp

primary
#9BAC20
secondary
#6D60C7
accent
#3CEB52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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