#9BA01B#9BA01B

#9BA01B is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.143 H 112.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9BA01B
RGBrgb(155, 160, 27)
HSLhsl(62, 71%, 37%)
HSVhsv(62, 83%, 63%)
CMYKcmyk(3.1%, 0%, 83.1%, 37.3%)
CIE-LABlab(63.50, -16.91, 61.53)
CIE-LCHlch(63.50, 63.81, 105.36°)
OKLaboklab(67.96% -0.0536 0.1328)
OKLCHoklch(67.96% 0.143 112)
XYZxyz(26.2871, 32.1900, 5.8653)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA01B #201BA0
analogous
#A0631B #9BA01B #59A01B
triadic
#9BA01B #1B9BA0 #A01B9B
tetradic
#9BA01B #1BA063 #201BA0 #A01B59
square
#9BA01B #1BA063 #201BA0 #A01B59
split-complementary
#9BA01B #1B59A0 #631BA0
monochromatic
#363709 #686C12 #9BA01B #CED424 #DDE253

Accessibility & contrast

On white

2.82
#9BA01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9BA01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA01B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA01B#FFFFFF#000000##000000
##9BA01B1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#A69688
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba01b;
/* rgb */ color: rgb(155, 160, 27);
/* oklch */ color: oklch(68.0% 0.143 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb66',
    500: '#9ba01b',
    950: '#000000',
  },
}
SCSS
$custom: #9ba01b;
$custom-light: #bcbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba01b",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 62.256,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67956,
    "c": 0.1432,
    "h": 112
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

primary
#9BA01B
secondary
#5652C5
accent
#3AEE41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9BA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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