#9BAC2D#9BAC2D

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

Color values

HEX#9BAC2D
RGBrgb(155, 172, 45)
HSLhsl(68, 59%, 43%)
HSVhsv(68, 74%, 67%)
CMYKcmyk(9.9%, 0%, 73.8%, 32.5%)
CIE-LABlab(67.02, -22.25, 59.22)
CIE-LCHlch(67.02, 63.26, 110.59°)
OKLaboklab(70.81% -0.0669 0.1311)
OKLCHoklch(70.81% 0.147 117)
XYZxyz(28.7444, 36.6634, 8.0446)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC2D #3E2DAC
analogous
#AC7D2D #9BAC2D #5CAC2D
triadic
#9BAC2D #2D9BAC #AC2D9B
tetradic
#9BAC2D #2DAC7D #3E2DAC #AC2D5C
square
#9BAC2D #2DAC7D #3E2DAC #AC2D5C
split-complementary
#9BAC2D #2D5CAC #7D2DAC
monochromatic
#444B14 #6F7B20 #9BAC2D #BDCF47 #CEDC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAC2D#FFFFFF#000000##000000
##9BAC2D1.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)
#B8A313
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#A5A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac2d;
/* rgb */ color: rgb(155, 172, 45);
/* oklch */ color: oklch(70.8% 0.147 117.0);
Tailwind
colors: {
  custom: {
    50: '#bcc46f',
    500: '#9bac2d',
    950: '#000000',
  },
}
SCSS
$custom: #9bac2d;
$custom-light: #bcc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac2d",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 68.031,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.14718,
    "h": 117
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

primary
#9BAC2D
secondary
#7C71C4
accent
#46E25B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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