#9BA01A#9BA01A

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

Color values

HEX#9BA01A
RGBrgb(155, 160, 26)
HSLhsl(62, 72%, 36%)
HSVhsv(62, 84%, 63%)
CMYKcmyk(3.1%, 0%, 83.8%, 37.3%)
CIE-LABlab(63.50, -16.94, 61.79)
CIE-LCHlch(63.50, 64.07, 105.33°)
OKLaboklab(67.95% -0.0537 0.1332)
OKLCHoklch(67.95% 0.144 112)
XYZxyz(26.2758, 32.1854, 5.8054)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA01A #1F1AA0
analogous
#A0621A #9BA01A #58A01A
triadic
#9BA01A #1A9BA0 #A01A9B
tetradic
#9BA01A #1AA062 #1F1AA0 #A01A58
square
#9BA01A #1AA062 #1F1AA0 #A01A58
split-complementary
#9BA01A #1A58A0 #621AA0
monochromatic
#353709 #686B11 #9BA01A #CED523 #DDE352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA01A#FFFFFF#000000##000000
##9BA01A1.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)
#AE9B28
Tritanopia (blue-blind)
#A69688
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba01a;
/* rgb */ color: rgb(155, 160, 26);
/* oklch */ color: oklch(68.0% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb66',
    500: '#9ba01a',
    950: '#000000',
  },
}
SCSS
$custom: #9ba01a;
$custom-light: #bcbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba01a",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 62.239,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67952,
    "c": 0.1436,
    "h": 112
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#9BA01A
secondary
#5550C5
accent
#39EF40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9BA01A

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

Preview Lab → · Contrast checker → · Palette generator →

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