#9BA91C#9BA91C

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

Color values

HEX#9BA91C
RGBrgb(155, 169, 28)
HSLhsl(66, 72%, 39%)
HSVhsv(66, 83%, 66%)
CMYKcmyk(8.3%, 0%, 83.4%, 33.7%)
CIE-LABlab(66.08, -21.44, 63.49)
CIE-LCHlch(66.08, 67.01, 108.66°)
OKLaboklab(70.03% -0.066 0.1372)
OKLCHoklch(70.03% 0.152 115.7)
XYZxyz(27.9160, 35.4288, 6.4662)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA91C #2A1CA9
analogous
#A9701C #9BA91C #54A91C
triadic
#9BA91C #1C9BA9 #A91C9B
tetradic
#9BA91C #1CA970 #2A1CA9 #A91C54
square
#9BA91C #1CA970 #2A1CA9 #A91C54
split-complementary
#9BA91C #1C54A9 #701CA9
monochromatic
#3B400B #6B7413 #9BA91C #C9DB27 #D6E45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA91C#FFFFFF#000000##000000
##9BA91C1.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)
#B6A000
Deuteranopia (green-blind)
#B4A22B
Tritanopia (blue-blind)
#A69F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba91c;
/* rgb */ color: rgb(155, 169, 28);
/* oklch */ color: oklch(70.0% 0.152 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc268',
    500: '#9ba91c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba91c;
$custom-light: #bcc268;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba91c",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 65.957,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70028,
    "c": 0.15225,
    "h": 115.7
  },
  "luminance": 0.35428
}

Semantic roles & 50–950 ramp

primary
#9BA91C
secondary
#6459C8
accent
#39EE4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA91C

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

Preview Lab → · Contrast checker → · Palette generator →

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