#9BAC1F#9BAC1F

#9BAC1F is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.154 H 116.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9BAC1F
RGBrgb(155, 172, 31)
HSLhsl(67, 69%, 40%)
HSVhsv(67, 82%, 67%)
CMYKcmyk(9.9%, 0%, 82%, 32.5%)
CIE-LABlab(66.96, -22.83, 63.47)
CIE-LCHlch(66.96, 67.45, 109.79°)
OKLaboklab(70.73% -0.0696 0.1377)
OKLCHoklch(70.73% 0.154 116.8)
XYZxyz(28.5182, 36.5729, 6.8530)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC1F #301FAC
analogous
#AC771F #9BAC1F #55AC1F
triadic
#9BAC1F #1F9BAC #AC1F9B
tetradic
#9BAC1F #1FAC77 #301FAC #AC1F55
square
#9BAC1F #1FAC77 #301FAC #AC1F55
split-complementary
#9BAC1F #1F55AC #771FAC
monochromatic
#3E440C #6C7816 #9BAC1F #C5D92F #D3E363

Accessibility & contrast

On white

2.53
#9BAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#9BAC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC1F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC1F#FFFFFF#000000##000000
##9BAC1F1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac1f;
/* rgb */ color: rgb(155, 172, 31);
/* oklch */ color: oklch(70.7% 0.154 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc469',
    500: '#9bac1f',
    950: '#000000',
  },
}
SCSS
$custom: #9bac1f;
$custom-light: #bcc469;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac1f",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 67.234,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70734,
    "c": 0.15428,
    "h": 116.8
  },
  "luminance": 0.36573
}

Semantic roles & 50–950 ramp

primary
#9BAC1F
secondary
#6C5FC8
accent
#3CEC51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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