#9BA61B#9BA61B

#9BA61B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.149 H 114.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9BA61B
RGBrgb(155, 166, 27)
HSLhsl(65, 72%, 38%)
HSVhsv(65, 84%, 65%)
CMYKcmyk(6.6%, 0%, 83.7%, 34.9%)
CIE-LABlab(65.22, -19.96, 63.00)
CIE-LCHlch(65.22, 66.09, 107.58°)
OKLaboklab(69.33% -0.062 0.136)
OKLCHoklch(69.33% 0.149 114.5)
XYZxyz(27.3525, 34.3207, 6.2204)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA61B #261BA6
analogous
#A66B1B #9BA61B #56A61B
triadic
#9BA61B #1B9BA6 #A61B9B
tetradic
#9BA61B #1BA66B #261BA6 #A61B56
square
#9BA61B #1BA66B #261BA6 #A61B56
split-complementary
#9BA61B #1B56A6 #6B1BA6
monochromatic
#393D0A #6A7112 #9BA61B #CCDB24 #D9E458

Accessibility & contrast

On white

2.67
#9BA61B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9BA61B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA61B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA61B#FFFFFF#000000##000000
##9BA61B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B29F2A
Tritanopia (blue-blind)
#A69C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba61b;
/* rgb */ color: rgb(155, 166, 27);
/* oklch */ color: oklch(69.3% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bcc067',
    500: '#9ba61b',
    950: '#000000',
  },
}
SCSS
$custom: #9ba61b;
$custom-light: #bcc067;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba61b",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 64.748,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.14944,
    "h": 114.5
  },
  "luminance": 0.3432
}

Semantic roles & 50–950 ramp

primary
#9BA61B
secondary
#5F56C7
accent
#39EF47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA61B

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

Preview Lab → · Contrast checker → · Palette generator →

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