#9BAC2E#9BAC2E

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

Color values

HEX#9BAC2E
RGBrgb(155, 172, 46)
HSLhsl(68, 58%, 43%)
HSVhsv(68, 73%, 67%)
CMYKcmyk(9.9%, 0%, 73.3%, 32.5%)
CIE-LABlab(67.03, -22.20, 58.88)
CIE-LCHlch(67.03, 62.92, 110.66°)
OKLaboklab(70.82% -0.0667 0.1305)
OKLCHoklch(70.82% 0.147 117.1)
XYZxyz(28.7639, 36.6712, 8.1472)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC2E #3F2EAC
analogous
#AC7E2E #9BAC2E #5CAC2E
triadic
#9BAC2E #2E9BAC #AC2E9B
tetradic
#9BAC2E #2EAC7E #3F2EAC #AC2E5C
square
#9BAC2E #2EAC7E #3F2EAC #AC2E5C
split-complementary
#9BAC2E #2E5CAC #7E2EAC
monochromatic
#444B14 #6F7C21 #9BAC2E #BCCE49 #CEDB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAC2E#FFFFFF#000000##000000
##9BAC2E1.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)
#B8A315
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#A5A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac2e;
/* rgb */ color: rgb(155, 172, 46);
/* oklch */ color: oklch(70.8% 0.147 117.1);
Tailwind
colors: {
  custom: {
    50: '#bcc470',
    500: '#9bac2e',
    950: '#000000',
  },
}
SCSS
$custom: #9bac2e;
$custom-light: #bcc470;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac2e",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 68.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70817,
    "c": 0.14658,
    "h": 117.1
  },
  "luminance": 0.36671
}

Semantic roles & 50–950 ramp

primary
#9BAC2E
secondary
#7D72C3
accent
#47E15C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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