#9BA91F#9BA91F

#9BA91F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.151 H 115.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9BA91F
RGBrgb(155, 169, 31)
HSLhsl(66, 69%, 39%)
HSVhsv(66, 82%, 66%)
CMYKcmyk(8.3%, 0%, 81.7%, 33.7%)
CIE-LABlab(66.09, -21.34, 62.72)
CIE-LCHlch(66.09, 66.25, 108.79°)
OKLaboklab(70.04% -0.0655 0.1361)
OKLCHoklch(70.04% 0.151 115.7)
XYZxyz(27.9537, 35.4439, 6.6648)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA91F #2D1FA9
analogous
#A9721F #9BA91F #56A91F
triadic
#9BA91F #1F9BA9 #A91F9B
tetradic
#9BA91F #1FA972 #2D1FA9 #A91F56
square
#9BA91F #1FA972 #2D1FA9 #A91F56
split-complementary
#9BA91F #1F56A9 #721FA9
monochromatic
#3C420C #6C7516 #9BA91F #C7D82D #D5E260

Accessibility & contrast

On white

2.60
#9BA91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9BA91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA91F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA91F#FFFFFF#000000##000000
##9BA91F1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A22D
Tritanopia (blue-blind)
#A59F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba91f;
/* rgb */ color: rgb(155, 169, 31);
/* oklch */ color: oklch(70.0% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc269',
    500: '#9ba91f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba91f;
$custom-light: #bcc269;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba91f",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 66.087,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70041,
    "c": 0.151,
    "h": 115.7
  },
  "luminance": 0.35443
}

Semantic roles & 50–950 ramp

primary
#9BA91F
secondary
#685DC7
accent
#3CEC4E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA91F

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

Preview Lab → · Contrast checker → · Palette generator →

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