#9BA134#9BA134

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

Color values

HEX#9BA134
RGBrgb(155, 161, 52)
HSLhsl(63, 51%, 42%)
HSVhsv(63, 68%, 63%)
CMYKcmyk(3.7%, 0%, 67.7%, 36.9%)
CIE-LABlab(63.92, -16.29, 53.53)
CIE-LCHlch(63.92, 55.95, 106.92°)
OKLaboklab(68.34% -0.0496 0.1203)
OKLCHoklch(68.34% 0.13 112.4)
XYZxyz(26.8831, 32.7068, 8.1451)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA134 #3A34A1
analogous
#A17134 #9BA134 #65A134
triadic
#9BA134 #349BA1 #A1349B
tetradic
#9BA134 #34A171 #3A34A1 #A13465
square
#9BA134 #34A171 #3A34A1 #A13465
split-complementary
#9BA134 #3465A1 #7134A1
monochromatic
#424416 #6E7325 #9BA134 #BFC54D #CFD47B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA134#FFFFFF#000000##000000
##9BA1341.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)
#AD9A24
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#A5978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba134;
/* rgb */ color: rgb(155, 161, 52);
/* oklch */ color: oklch(68.3% 0.130 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc72',
    500: '#9ba134',
    950: '#000000',
  },
}
SCSS
$custom: #9ba134;
$custom-light: #bbbc72;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba134",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 63.303,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.13012,
    "h": 112.4
  },
  "luminance": 0.32706
}

Semantic roles & 50–950 ramp

primary
#9BA134
secondary
#7874BD
accent
#4DDB55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA134

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

Preview Lab → · Contrast checker → · Palette generator →

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