#9BAC3E#9BAC3E

#9BAC3E is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.135 H 117.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#9BAC3E
RGBrgb(155, 172, 62)
HSLhsl(69, 47%, 46%)
HSVhsv(69, 64%, 67%)
CMYKcmyk(9.9%, 0%, 64%, 32.5%)
CIE-LABlab(67.14, -21.23, 52.73)
CIE-LCHlch(67.14, 56.84, 111.93°)
OKLaboklab(70.95% -0.0624 0.1201)
OKLCHoklch(70.95% 0.135 117.5)
XYZxyz(29.1402, 36.8217, 10.1287)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC3E #4F3EAC
analogous
#AC863E #9BAC3E #64AC3E
triadic
#9BAC3E #3E9BAC #AC3E9B
tetradic
#9BAC3E #3EAC86 #4F3EAC #AC3E64
square
#9BAC3E #3EAC86 #4F3EAC #AC3E64
split-complementary
#9BAC3E #3E64AC #863EAC
monochromatic
#4A521E #727F2E #9BAC3E #B6C661 #CBD68E

Accessibility & contrast

On white

2.51
#9BAC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#9BAC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC3E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC3E#FFFFFF#000000##000000
##9BAC3E1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A330
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#A4A395
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac3e;
/* rgb */ color: rgb(155, 172, 62);
/* oklch */ color: oklch(70.9% 0.135 117.5);
Tailwind
colors: {
  custom: {
    50: '#bbc479',
    500: '#9bac3e',
    950: '#000000',
  },
}
SCSS
$custom: #9bac3e;
$custom-light: #bbc479;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac3e",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 69.273,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70945,
    "c": 0.13539,
    "h": 117.5
  },
  "luminance": 0.36821
}

Semantic roles & 50–950 ramp

primary
#9BAC3E
secondary
#8E85C1
accent
#51D766
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9BAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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