#9BA730#9BA730

#9BA730 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.140 H 115.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9BA730
RGBrgb(155, 167, 48)
HSLhsl(66, 55%, 42%)
HSVhsv(66, 71%, 65%)
CMYKcmyk(7.2%, 0%, 71.3%, 34.5%)
CIE-LABlab(65.61, -19.58, 56.77)
CIE-LCHlch(65.61, 60.05, 109.03°)
OKLaboklab(69.68% -0.0592 0.1264)
OKLCHoklch(69.68% 0.14 115.1)
XYZxyz(27.8705, 34.8199, 8.0485)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA730 #3C30A7
analogous
#A77730 #9BA730 #60A730
triadic
#9BA730 #309BA7 #A7309B
tetradic
#9BA730 #30A777 #3C30A7 #A73060
square
#9BA730 #30A777 #3C30A7 #A73060
split-complementary
#9BA730 #3060A7 #7730A7
monochromatic
#434815 #6F7722 #9BA730 #BECB49 #CFD879

Accessibility & contrast

On white

2.64
#9BA730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9BA730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA730
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA730#FFFFFF#000000##000000
##9BA7301.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1B
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#A59D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba730;
/* rgb */ color: rgb(155, 167, 48);
/* oklch */ color: oklch(69.7% 0.140 115.1);
Tailwind
colors: {
  custom: {
    50: '#bcc170',
    500: '#9ba730',
    950: '#000000',
  },
}
SCSS
$custom: #9ba730;
$custom-light: #bcc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba730",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 66.05,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.13962,
    "h": 115.1
  },
  "luminance": 0.34819
}

Semantic roles & 50–950 ramp

primary
#9BA730
secondary
#7A72C1
accent
#49DF58
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA730

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

Preview Lab → · Contrast checker → · Palette generator →

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