#9BAB2E#9BAB2E

#9BAB2E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.145 H 116.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9BAB2E
RGBrgb(155, 171, 46)
HSLhsl(68, 58%, 43%)
HSVhsv(68, 73%, 67%)
CMYKcmyk(9.4%, 0%, 73.1%, 32.9%)
CIE-LABlab(66.74, -21.70, 58.60)
CIE-LCHlch(66.74, 62.49, 110.32°)
OKLaboklab(70.59% -0.0653 0.13)
OKLCHoklch(70.59% 0.145 116.7)
XYZxyz(28.5743, 36.2920, 8.0840)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB2E #3E2EAB
analogous
#AB7D2E #9BAB2E #5CAB2E
triadic
#9BAB2E #2E9BAB #AB2E9B
tetradic
#9BAB2E #2EAB7D #3E2EAB #AB2E5C
square
#9BAB2E #2EAB7D #3E2EAB #AB2E5C
split-complementary
#9BAB2E #2E5CAB #7D2EAB
monochromatic
#444B14 #6F7B21 #9BAB2E #BDCE48 #CEDB79

Accessibility & contrast

On white

2.54
#9BAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#9BAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB2E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB2E#FFFFFF#000000##000000
##9BAB2E1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab2e;
/* rgb */ color: rgb(155, 171, 46);
/* oklch */ color: oklch(70.6% 0.145 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc370',
    500: '#9bab2e',
    950: '#000000',
  },
}
SCSS
$custom: #9bab2e;
$custom-light: #bcc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab2e",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 67.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70587,
    "c": 0.14543,
    "h": 116.7
  },
  "luminance": 0.36292
}

Semantic roles & 50–950 ramp

primary
#9BAB2E
secondary
#7C72C3
accent
#47E15B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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