#9BA137#9BA137

#9BA137 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.128 H 112.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9BA137
RGBrgb(155, 161, 55)
HSLhsl(63, 49%, 42%)
HSVhsv(63, 66%, 63%)
CMYKcmyk(3.7%, 0%, 65.8%, 36.9%)
CIE-LABlab(63.95, -16.10, 52.32)
CIE-LCHlch(63.95, 54.74, 107.11°)
OKLaboklab(68.36% -0.0488 0.1182)
OKLCHoklch(68.36% 0.128 112.4)
XYZxyz(26.9528, 32.7347, 8.5123)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA137 #3D37A1
analogous
#A17237 #9BA137 #66A137
triadic
#9BA137 #379BA1 #A1379B
tetradic
#9BA137 #37A172 #3D37A1 #A13766
square
#9BA137 #37A172 #3D37A1 #A13766
split-complementary
#9BA137 #3766A1 #7237A1
monochromatic
#434618 #6F7327 #9BA137 #BDC451 #CFD37F

Accessibility & contrast

On white

2.78
#9BA137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9BA137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA137
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA137#FFFFFF#000000##000000
##9BA1371.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#A5978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba137;
/* rgb */ color: rgb(155, 161, 55);
/* oklch */ color: oklch(68.4% 0.128 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc74',
    500: '#9ba137',
    950: '#000000',
  },
}
SCSS
$custom: #9ba137;
$custom-light: #bbbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba137",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 63.396,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68364,
    "c": 0.1279,
    "h": 112.4
  },
  "luminance": 0.32734
}

Semantic roles & 50–950 ramp

primary
#9BA137
secondary
#7B77BD
accent
#4FD957
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA137

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

Preview Lab → · Contrast checker → · Palette generator →

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