#9BAC2C#9BAC2C

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

Color values

HEX#9BAC2C
RGBrgb(155, 172, 44)
HSLhsl(68, 59%, 42%)
HSVhsv(68, 74%, 67%)
CMYKcmyk(9.9%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.02, -22.29, 59.56)
CIE-LCHlch(67.02, 63.60, 110.52°)
OKLaboklab(70.8% -0.0671 0.1316)
OKLCHoklch(70.8% 0.148 117)
XYZxyz(28.7254, 36.6558, 7.9444)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC2C #3D2CAC
analogous
#AC7D2C #9BAC2C #5BAC2C
triadic
#9BAC2C #2C9BAC #AC2C9B
tetradic
#9BAC2C #2CAC7D #3D2CAC #AC2C5B
square
#9BAC2C #2CAC7D #3D2CAC #AC2C5B
split-complementary
#9BAC2C #2C5BAC #7D2CAC
monochromatic
#434B13 #6F7B20 #9BAC2C #BDD046 #CFDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAC2C#FFFFFF#000000##000000
##9BAC2C1.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)
#B8A310
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#A5A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac2c;
/* rgb */ color: rgb(155, 172, 44);
/* oklch */ color: oklch(70.8% 0.148 117.0);
Tailwind
colors: {
  custom: {
    50: '#bcc46f',
    500: '#9bac2c',
    950: '#000000',
  },
}
SCSS
$custom: #9bac2c;
$custom-light: #bcc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac2c",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 67.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70804,
    "c": 0.14776,
    "h": 117
  },
  "luminance": 0.36655
}

Semantic roles & 50–950 ramp

primary
#9BAC2C
secondary
#7B70C4
accent
#45E25A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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