#9BA537#9BA537

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

Color values

HEX#9BA537
RGBrgb(155, 165, 55)
HSLhsl(65, 50%, 43%)
HSVhsv(65, 67%, 65%)
CMYKcmyk(6.1%, 0%, 66.7%, 35.3%)
CIE-LABlab(65.09, -18.15, 53.50)
CIE-LCHlch(65.09, 56.50, 108.74°)
OKLaboklab(69.28% -0.0546 0.1207)
OKLCHoklch(69.28% 0.132 114.3)
XYZxyz(27.6630, 34.1552, 8.7490)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA537 #4137A5
analogous
#A57837 #9BA537 #64A537
triadic
#9BA537 #379BA5 #A5379B
tetradic
#9BA537 #37A578 #4137A5 #A53764
square
#9BA537 #37A578 #4137A5 #A53764
split-complementary
#9BA537 #3764A5 #7837A5
monochromatic
#454918 #707728 #9BA537 #BBC653 #CDD581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA537#FFFFFF#000000##000000
##9BA5371.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)
#B19D28
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#A59C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba537;
/* rgb */ color: rgb(155, 165, 55);
/* oklch */ color: oklch(69.3% 0.132 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbf74',
    500: '#9ba537',
    950: '#000000',
  },
}
SCSS
$custom: #9ba537;
$custom-light: #bbbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba537",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 65.455,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69277,
    "c": 0.13246,
    "h": 114.3
  },
  "luminance": 0.34155
}

Semantic roles & 50–950 ramp

primary
#9BA537
secondary
#8079BF
accent
#4EDA5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA537

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

Preview Lab → · Contrast checker → · Palette generator →

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