#9BAA2B#9BAA2B

#9BAA2B is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.146 H 116.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9BAA2B
RGBrgb(155, 170, 43)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.8%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.44, -21.34, 59.35)
CIE-LCHlch(66.44, 63.08, 109.78°)
OKLaboklab(70.34% -0.0646 0.131)
OKLCHoklch(70.34% 0.146 116.2)
XYZxyz(28.3291, 35.8928, 7.7207)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA2B #3A2BAA
analogous
#AA7A2B #9BAA2B #5BAA2B
triadic
#9BAA2B #2B9BAA #AA2B9B
tetradic
#9BAA2B #2BAA7A #3A2BAA #AA2B5B
square
#9BAA2B #2BAA7A #3A2BAA #AA2B5B
split-complementary
#9BAA2B #2B5BAA #7A2BAA
monochromatic
#424812 #6E791F #9BAA2B #BFCF43 #CFDC74

Accessibility & contrast

On white

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

On black

8.18
#9BAA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA2B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA2B#FFFFFF#000000##000000
##9BAA2B1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10F
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9baa2b;
/* rgb */ color: rgb(155, 170, 43);
/* oklch */ color: oklch(70.3% 0.146 116.2);
Tailwind
colors: {
  custom: {
    50: '#bcc36e',
    500: '#9baa2b',
    950: '#000000',
  },
}
SCSS
$custom: #9baa2b;
$custom-light: #bcc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa2b",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 67.087,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70336,
    "c": 0.14608,
    "h": 116.2
  },
  "luminance": 0.35892
}

Semantic roles & 50–950 ramp

primary
#9BAA2B
secondary
#786EC3
accent
#45E358
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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