#9BA136#9BA136

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

Color values

HEX#9BA136
RGBrgb(155, 161, 54)
HSLhsl(63, 50%, 42%)
HSVhsv(63, 66%, 63%)
CMYKcmyk(3.7%, 0%, 66.5%, 36.9%)
CIE-LABlab(63.94, -16.16, 52.73)
CIE-LCHlch(63.94, 55.15, 107.04°)
OKLaboklab(68.36% -0.0491 0.1189)
OKLCHoklch(68.36% 0.129 112.4)
XYZxyz(26.9291, 32.7252, 8.3873)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA136 #3C36A1
analogous
#A17136 #9BA136 #66A136
triadic
#9BA136 #369BA1 #A1369B
tetradic
#9BA136 #36A171 #3C36A1 #A13666
square
#9BA136 #36A171 #3C36A1 #A13666
split-complementary
#9BA136 #3666A1 #7136A1
monochromatic
#434517 #6F7327 #9BA136 #BEC450 #CFD47E

Accessibility & contrast

On white

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

On black

7.54
#9BA136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA136
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA136#FFFFFF#000000##000000
##9BA1361.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba136;
/* rgb */ color: rgb(155, 161, 54);
/* oklch */ color: oklch(68.4% 0.129 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc73',
    500: '#9ba136',
    950: '#000000',
  },
}
SCSS
$custom: #9ba136;
$custom-light: #bbbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba136",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 54
  },
  "hsl": {
    "h": 63.364,
    "s": 49.767,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.12866,
    "h": 112.4
  },
  "luminance": 0.32725
}

Semantic roles & 50–950 ramp

primary
#9BA136
secondary
#7A76BD
accent
#4FD956
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA136

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

Preview Lab → · Contrast checker → · Palette generator →

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