#9BA535#9BA535

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

Color values

HEX#9BA535
RGBrgb(155, 165, 53)
HSLhsl(65, 51%, 43%)
HSVhsv(65, 68%, 65%)
CMYKcmyk(6.1%, 0%, 67.9%, 35.3%)
CIE-LABlab(65.07, -18.28, 54.29)
CIE-LCHlch(65.07, 57.29, 108.61°)
OKLaboklab(69.26% -0.0551 0.1221)
OKLCHoklch(69.26% 0.134 114.3)
XYZxyz(27.6160, 34.1364, 8.5017)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA535 #3F35A5
analogous
#A57735 #9BA535 #63A535
triadic
#9BA535 #359BA5 #A5359B
tetradic
#9BA535 #35A577 #3F35A5 #A53563
square
#9BA535 #35A577 #3F35A5 #A53563
split-complementary
#9BA535 #3563A5 #7735A5
monochromatic
#444817 #6F7726 #9BA535 #BCC750 #CED67F

Accessibility & contrast

On white

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

On black

7.83
#9BA535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA535
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA535#FFFFFF#000000##000000
##9BA5351.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba535;
/* rgb */ color: rgb(155, 165, 53);
/* oklch */ color: oklch(69.3% 0.134 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbf73',
    500: '#9ba535',
    950: '#000000',
  },
}
SCSS
$custom: #9ba535;
$custom-light: #bbbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba535",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 65.357,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6926,
    "c": 0.13393,
    "h": 114.3
  },
  "luminance": 0.34136
}

Semantic roles & 50–950 ramp

primary
#9BA535
secondary
#7D77BF
accent
#4DDB5A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA535

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

Preview Lab → · Contrast checker → · Palette generator →

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