#9BA930#9BA930

#9BA930 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.142 H 115.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9BA930
RGBrgb(155, 169, 48)
HSLhsl(67, 56%, 43%)
HSVhsv(67, 72%, 66%)
CMYKcmyk(8.3%, 0%, 71.6%, 33.7%)
CIE-LABlab(66.18, -20.59, 57.33)
CIE-LCHlch(66.18, 60.91, 109.75°)
OKLaboklab(70.14% -0.062 0.1276)
OKLCHoklch(70.14% 0.142 115.9)
XYZxyz(28.2398, 35.5583, 8.1715)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA930 #3E30A9
analogous
#A97A30 #9BA930 #5FA930
triadic
#9BA930 #309BA9 #A9309B
tetradic
#9BA930 #30A97A #3E30A9 #A9305F
square
#9BA930 #30A97A #3E30A9 #A9305F
split-complementary
#9BA930 #305FA9 #7A30A9
monochromatic
#444A15 #6F7922 #9BA930 #BDCC4A #CED97A

Accessibility & contrast

On white

2.59
#9BA930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9BA930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA930
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA930#FFFFFF#000000##000000
##9BA9301.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#A59F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba930;
/* rgb */ color: rgb(155, 169, 48);
/* oklch */ color: oklch(70.1% 0.142 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc271',
    500: '#9ba930',
    950: '#000000',
  },
}
SCSS
$custom: #9ba930;
$custom-light: #bcc271;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba930",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 66.942,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.1419,
    "h": 115.9
  },
  "luminance": 0.35558
}

Semantic roles & 50–950 ramp

primary
#9BA930
secondary
#7C73C2
accent
#49DF5A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA930

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

Preview Lab → · Contrast checker → · Palette generator →

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