#9BA830#9BA830

#9BA830 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.141 H 115.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9BA830
RGBrgb(155, 168, 48)
HSLhsl(67, 56%, 42%)
HSVhsv(67, 71%, 66%)
CMYKcmyk(7.7%, 0%, 71.4%, 34.1%)
CIE-LABlab(65.89, -20.09, 57.05)
CIE-LCHlch(65.89, 60.48, 109.40°)
OKLaboklab(69.91% -0.0606 0.127)
OKLCHoklch(69.91% 0.141 115.5)
XYZxyz(28.0544, 35.1877, 8.1098)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA830 #3D30A8
analogous
#A87930 #9BA830 #5FA830
triadic
#9BA830 #309BA8 #A8309B
tetradic
#9BA830 #30A879 #3D30A8 #A8305F
square
#9BA830 #30A879 #3D30A8 #A8305F
split-complementary
#9BA830 #305FA8 #7930A8
monochromatic
#434915 #6F7822 #9BA830 #BDCB4A #CFD97A

Accessibility & contrast

On white

2.61
#9BA830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9BA830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA830
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA830#FFFFFF#000000##000000
##9BA8301.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A59E91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba830;
/* rgb */ color: rgb(155, 168, 48);
/* oklch */ color: oklch(69.9% 0.141 115.5);
Tailwind
colors: {
  custom: {
    50: '#bcc170',
    500: '#9ba830',
    950: '#000000',
  },
}
SCSS
$custom: #9ba830;
$custom-light: #bcc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba830",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 66.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6991,
    "c": 0.14076,
    "h": 115.5
  },
  "luminance": 0.35187
}

Semantic roles & 50–950 ramp

primary
#9BA830
secondary
#7B73C1
accent
#49DF59
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA830

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

Preview Lab → · Contrast checker → · Palette generator →

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