#9BA337#9BA337

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

Color values

HEX#9BA337
RGBrgb(155, 163, 55)
HSLhsl(64, 50%, 43%)
HSVhsv(64, 66%, 64%)
CMYKcmyk(4.9%, 0%, 66.3%, 36.1%)
CIE-LABlab(64.52, -17.13, 52.91)
CIE-LCHlch(64.52, 55.61, 107.94°)
OKLaboklab(68.82% -0.0517 0.1195)
OKLCHoklch(68.82% 0.13 113.4)
XYZxyz(27.3051, 33.4393, 8.6297)
Luminance0.3344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA337 #3F37A3
analogous
#A37537 #9BA337 #65A337
triadic
#9BA337 #379BA3 #A3379B
tetradic
#9BA337 #37A375 #3F37A3 #A33765
square
#9BA337 #37A375 #3F37A3 #A33765
split-complementary
#9BA337 #3765A3 #7537A3
monochromatic
#444718 #6F7528 #9BA337 #BCC552 #CED480

Accessibility & contrast

On white

2.73
#9BA337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9BA337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA337
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA337#FFFFFF#000000##000000
##9BA3371.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#A59A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba337;
/* rgb */ color: rgb(155, 163, 55);
/* oklch */ color: oklch(68.8% 0.130 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbe74',
    500: '#9ba337',
    950: '#000000',
  },
}
SCSS
$custom: #9ba337;
$custom-light: #bbbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba337",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 64.444,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6882,
    "c": 0.13017,
    "h": 113.4
  },
  "luminance": 0.33439
}

Semantic roles & 50–950 ramp

primary
#9BA337
secondary
#7D78BE
accent
#4FD959
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA337

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

Preview Lab → · Contrast checker → · Palette generator →

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