#9BA130#9BA130

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

Color values

HEX#9BA130
RGBrgb(155, 161, 48)
HSLhsl(63, 54%, 41%)
HSVhsv(63, 70%, 63%)
CMYKcmyk(3.7%, 0%, 70.2%, 36.9%)
CIE-LABlab(63.89, -16.52, 55.08)
CIE-LCHlch(63.89, 57.50, 106.69°)
OKLaboklab(68.31% -0.0507 0.1229)
OKLCHoklch(68.31% 0.133 112.4)
XYZxyz(26.7968, 32.6723, 7.6905)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA130 #3630A1
analogous
#A16E30 #9BA130 #62A130
triadic
#9BA130 #309BA1 #A1309B
tetradic
#9BA130 #30A16E #3630A1 #A13062
square
#9BA130 #30A16E #3630A1 #A13062
split-complementary
#9BA130 #3062A1 #6E30A1
monochromatic
#404314 #6E7222 #9BA130 #C1C846 #D1D675

Accessibility & contrast

On white

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

On black

7.53
#9BA130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA130
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA130#FFFFFF#000000##000000
##9BA1301.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991E
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba130;
/* rgb */ color: rgb(155, 161, 48);
/* oklch */ color: oklch(68.3% 0.133 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc70',
    500: '#9ba130',
    950: '#000000',
  },
}
SCSS
$custom: #9ba130;
$custom-light: #bcbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba130",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 63.186,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68307,
    "c": 0.13292,
    "h": 112.4
  },
  "luminance": 0.32672
}

Semantic roles & 50–950 ramp

primary
#9BA130
secondary
#736FBE
accent
#4ADD52
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA130

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

Preview Lab → · Contrast checker → · Palette generator →

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