#9BAC2A#9BAC2A

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

Color values

HEX#9BAC2A
RGBrgb(155, 172, 42)
HSLhsl(68, 61%, 42%)
HSVhsv(68, 76%, 67%)
CMYKcmyk(9.9%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.01, -22.39, 60.23)
CIE-LCHlch(67.01, 64.25, 110.39°)
OKLaboklab(70.79% -0.0676 0.1327)
OKLCHoklch(70.79% 0.149 117)
XYZxyz(28.6887, 36.6411, 7.7512)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC2A #3B2AAC
analogous
#AC7C2A #9BAC2A #5AAC2A
triadic
#9BAC2A #2A9BAC #AC2A9B
tetradic
#9BAC2A #2AAC7C #3B2AAC #AC2A5A
square
#9BAC2A #2AAC7C #3B2AAC #AC2A5A
split-complementary
#9BAC2A #2A5AAC #7C2AAC
monochromatic
#424A12 #6F7B1E #9BAC2A #BED142 #CFDD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAC2A#FFFFFF#000000##000000
##9BAC2A1.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)
#B8A30B
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac2a;
/* rgb */ color: rgb(155, 172, 42);
/* oklch */ color: oklch(70.8% 0.149 117.0);
Tailwind
colors: {
  custom: {
    50: '#bcc46e',
    500: '#9bac2a',
    950: '#000000',
  },
}
SCSS
$custom: #9bac2a;
$custom-light: #bcc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac2a",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 67.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.1489,
    "h": 117
  },
  "luminance": 0.36641
}

Semantic roles & 50–950 ramp

primary
#9BAC2A
secondary
#796DC4
accent
#44E459
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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