#9BA11A#9BA11A

#9BA11A is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.145 H 112.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9BA11A
RGBrgb(155, 161, 26)
HSLhsl(63, 72%, 37%)
HSVhsv(63, 84%, 63%)
CMYKcmyk(3.7%, 0%, 83.9%, 36.9%)
CIE-LABlab(63.78, -17.45, 62.03)
CIE-LCHlch(63.78, 64.44, 105.71°)
OKLaboklab(68.18% -0.0551 0.1337)
OKLCHoklch(68.18% 0.145 112.4)
XYZxyz(26.4498, 32.5335, 5.8634)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA11A #201AA1
analogous
#A1641A #9BA11A #58A11A
triadic
#9BA11A #1A9BA1 #A11A9B
tetradic
#9BA11A #1AA164 #201AA1 #A11A58
square
#9BA11A #1AA164 #201AA1 #A11A58
split-complementary
#9BA11A #1A58A1 #641AA1
monochromatic
#363809 #686C11 #9BA11A #CED623 #DDE352

Accessibility & contrast

On white

2.80
#9BA11A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9BA11A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA11A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA11A#FFFFFF#000000##000000
##9BA11A1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C28
Tritanopia (blue-blind)
#A69789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba11a;
/* rgb */ color: rgb(155, 161, 26);
/* oklch */ color: oklch(68.2% 0.145 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc66',
    500: '#9ba11a',
    950: '#000000',
  },
}
SCSS
$custom: #9ba11a;
$custom-light: #bcbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba11a",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 62.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6818,
    "c": 0.14461,
    "h": 112.4
  },
  "luminance": 0.32533
}

Semantic roles & 50–950 ramp

primary
#9BA11A
secondary
#5651C6
accent
#39EF41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #9BA11A

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

Preview Lab → · Contrast checker → · Palette generator →

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