#9BA533#9BA533

#9BA533 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.135 H 114.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9BA533
RGBrgb(155, 165, 51)
HSLhsl(65, 53%, 42%)
HSVhsv(65, 69%, 65%)
CMYKcmyk(6.1%, 0%, 69.1%, 35.3%)
CIE-LABlab(65.06, -18.40, 55.07)
CIE-LCHlch(65.06, 58.06, 108.47°)
OKLaboklab(69.24% -0.0556 0.1234)
OKLCHoklch(69.24% 0.135 114.3)
XYZxyz(27.5710, 34.1184, 8.2644)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA533 #3D33A5
analogous
#A57633 #9BA533 #62A533
triadic
#9BA533 #339BA5 #A5339B
tetradic
#9BA533 #33A576 #3D33A5 #A53362
square
#9BA533 #33A576 #3D33A5 #A53362
split-complementary
#9BA533 #3362A5 #7633A5
monochromatic
#434816 #6F7625 #9BA533 #BDC84D #CFD67C

Accessibility & contrast

On white

2.68
#9BA533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9BA533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA533
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA533#FFFFFF#000000##000000
##9BA5331.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D21
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#A59B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba533;
/* rgb */ color: rgb(155, 165, 51);
/* oklch */ color: oklch(69.2% 0.135 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbf72',
    500: '#9ba533',
    950: '#000000',
  },
}
SCSS
$custom: #9ba533;
$custom-light: #bbbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba533",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 65.263,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.13534,
    "h": 114.3
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#9BA533
secondary
#7B75BF
accent
#4CDC58
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA533

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

Preview Lab → · Contrast checker → · Palette generator →

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