#9BA330#9BA330

#9BA330 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.135 H 113.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9BA330
RGBrgb(155, 163, 48)
HSLhsl(64, 55%, 41%)
HSVhsv(64, 71%, 64%)
CMYKcmyk(4.9%, 0%, 70.6%, 36.1%)
CIE-LABlab(64.46, -17.54, 55.64)
CIE-LCHlch(64.46, 58.34, 107.50°)
OKLaboklab(68.76% -0.0536 0.1241)
OKLCHoklch(68.76% 0.135 113.4)
XYZxyz(27.1491, 33.3769, 7.8080)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA330 #3830A3
analogous
#A37230 #9BA330 #62A330
triadic
#9BA330 #309BA3 #A3309B
tetradic
#9BA330 #30A372 #3830A3 #A33062
square
#9BA330 #30A372 #3830A3 #A33062
split-complementary
#9BA330 #3062A3 #7230A3
monochromatic
#414414 #6E7422 #9BA330 #C0C947 #D0D777

Accessibility & contrast

On white

2.74
#9BA330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9BA330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA330
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA330#FFFFFF#000000##000000
##9BA3301.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#A5998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba330;
/* rgb */ color: rgb(155, 163, 48);
/* oklch */ color: oklch(68.8% 0.135 113.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe70',
    500: '#9ba330',
    950: '#000000',
  },
}
SCSS
$custom: #9ba330;
$custom-light: #bcbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba330",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 64.174,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68764,
    "c": 0.13513,
    "h": 113.4
  },
  "luminance": 0.33376
}

Semantic roles & 50–950 ramp

primary
#9BA330
secondary
#7570BF
accent
#4ADE54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA330

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

Preview Lab → · Contrast checker → · Palette generator →

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