#9BAB2D#9BAB2D

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

Color values

HEX#9BAB2D
RGBrgb(155, 171, 45)
HSLhsl(68, 58%, 42%)
HSVhsv(68, 74%, 67%)
CMYKcmyk(9.4%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.74, -21.75, 58.95)
CIE-LCHlch(66.74, 62.83, 110.25°)
OKLaboklab(70.58% -0.0655 0.1305)
OKLCHoklch(70.58% 0.146 116.7)
XYZxyz(28.5548, 36.2842, 7.9814)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB2D #3D2DAB
analogous
#AB7C2D #9BAB2D #5CAB2D
triadic
#9BAB2D #2D9BAB #AB2D9B
tetradic
#9BAB2D #2DAB7C #3D2DAB #AB2D5C
square
#9BAB2D #2DAB7C #3D2DAB #AB2D5C
split-complementary
#9BAB2D #2D5CAB #7C2DAB
monochromatic
#434A14 #6F7B20 #9BAB2D #BDCE47 #CFDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAB2D#FFFFFF#000000##000000
##9BAB2D1.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)
#B7A213
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab2d;
/* rgb */ color: rgb(155, 171, 45);
/* oklch */ color: oklch(70.6% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc36f',
    500: '#9bab2d',
    950: '#000000',
  },
}
SCSS
$custom: #9bab2d;
$custom-light: #bcc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab2d",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 67.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.14604,
    "h": 116.7
  },
  "luminance": 0.36284
}

Semantic roles & 50–950 ramp

primary
#9BAB2D
secondary
#7B71C3
accent
#46E25A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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