#9BAB2A#9BAB2A

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

Color values

HEX#9BAB2A
RGBrgb(155, 171, 42)
HSLhsl(67, 61%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(9.4%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.72, -21.89, 59.96)
CIE-LCHlch(66.72, 63.83, 110.06°)
OKLaboklab(70.56% -0.0662 0.1321)
OKLCHoklch(70.56% 0.148 116.6)
XYZxyz(28.4991, 36.2619, 7.6880)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB2A #3A2AAB
analogous
#AB7B2A #9BAB2A #5BAB2A
triadic
#9BAB2A #2A9BAB #AB2A9B
tetradic
#9BAB2A #2AAB7B #3A2AAB #AB2A5B
square
#9BAB2A #2AAB7B #3A2AAB #AB2A5B
split-complementary
#9BAB2A #2A5BAB #7B2AAB
monochromatic
#424912 #6E7A1E #9BAB2A #BFD142 #CFDD73

Accessibility & contrast

On white

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

On black

8.25
#9BAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB2A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB2A#FFFFFF#000000##000000
##9BAB2A1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bab2a;
/* rgb */ color: rgb(155, 171, 42);
/* oklch */ color: oklch(70.6% 0.148 116.6);
Tailwind
colors: {
  custom: {
    50: '#bcc36e',
    500: '#9bab2a',
    950: '#000000',
  },
}
SCSS
$custom: #9bab2a;
$custom-light: #bcc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab2a",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 67.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.14777,
    "h": 116.6
  },
  "luminance": 0.36262
}

Semantic roles & 50–950 ramp

primary
#9BAB2A
secondary
#786DC4
accent
#44E458
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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