#9BAA1B#9BAA1B

#9BAA1B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.154 H 116.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9BAA1B
RGBrgb(155, 170, 27)
HSLhsl(66, 73%, 39%)
HSVhsv(66, 84%, 67%)
CMYKcmyk(8.8%, 0%, 84.1%, 33.3%)
CIE-LABlab(66.36, -21.97, 63.98)
CIE-LCHlch(66.36, 67.64, 108.95°)
OKLaboklab(70.26% -0.0675 0.1381)
OKLCHoklch(70.26% 0.154 116.1)
XYZxyz(28.0909, 35.7976, 6.4665)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA1B #2A1BAA
analogous
#AA711B #9BAA1B #53AA1B
triadic
#9BAA1B #1B9BAA #AA1B9B
tetradic
#9BAA1B #1BAA71 #2A1BAA #AA1B53
square
#9BAA1B #1BAA71 #2A1BAA #AA1B53
split-complementary
#9BAA1B #1B53AA #711BAA
monochromatic
#3B400A #6B7513 #9BAA1B #C9DC26 #D6E55B

Accessibility & contrast

On white

2.57
#9BAA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#9BAA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA1B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA1B#FFFFFF#000000##000000
##9BAA1B1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa1b;
/* rgb */ color: rgb(155, 170, 27);
/* oklch */ color: oklch(70.3% 0.154 116.1);
Tailwind
colors: {
  custom: {
    50: '#bcc368',
    500: '#9baa1b',
    950: '#000000',
  },
}
SCSS
$custom: #9baa1b;
$custom-light: #bcc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa1b",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 66.294,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70255,
    "c": 0.1537,
    "h": 116.1
  },
  "luminance": 0.35797
}

Semantic roles & 50–950 ramp

primary
#9BAA1B
secondary
#6458C9
accent
#39EF4C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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