#9BA131#9BA131

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

Color values

HEX#9BA131
RGBrgb(155, 161, 49)
HSLhsl(63, 53%, 41%)
HSVhsv(63, 70%, 63%)
CMYKcmyk(3.7%, 0%, 69.6%, 36.9%)
CIE-LABlab(63.90, -16.46, 54.70)
CIE-LCHlch(63.90, 57.12, 106.75°)
OKLaboklab(68.32% -0.0504 0.1222)
OKLCHoklch(68.32% 0.132 112.4)
XYZxyz(26.8176, 32.6807, 7.8004)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA131 #3731A1
analogous
#A16F31 #9BA131 #63A131
triadic
#9BA131 #319BA1 #A1319B
tetradic
#9BA131 #31A16F #3731A1 #A13163
square
#9BA131 #31A16F #3731A1 #A13163
split-complementary
#9BA131 #3163A1 #6F31A1
monochromatic
#414314 #6E7223 #9BA131 #C0C748 #D0D677

Accessibility & contrast

On white

2.79
#9BA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA131#FFFFFF#000000##000000
##9BA1311.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba131;
/* rgb */ color: rgb(155, 161, 49);
/* oklch */ color: oklch(68.3% 0.132 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc70',
    500: '#9ba131',
    950: '#000000',
  },
}
SCSS
$custom: #9ba131;
$custom-light: #bbbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba131",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 63.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68315,
    "c": 0.13224,
    "h": 112.4
  },
  "luminance": 0.3268
}

Semantic roles & 50–950 ramp

primary
#9BA131
secondary
#7470BE
accent
#4BDD53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA131

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

Preview Lab → · Contrast checker → · Palette generator →

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