#9B9237#9B9237

#9B9237 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.0% C 0.112 H 103.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9B9237
RGBrgb(155, 146, 55)
HSLhsl(55, 48%, 41%)
HSVhsv(55, 65%, 61%)
CMYKcmyk(0%, 5.8%, 64.5%, 39.2%)
CIE-LABlab(59.71, -8.19, 47.86)
CIE-LCHlch(59.71, 48.56, 99.70°)
OKLaboklab(64.99% -0.0265 0.1088)
OKLCHoklch(64.99% 0.112 103.7)
XYZxyz(24.4870, 27.8031, 7.6904)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9237 #37409B
analogous
#9B6037 #9B9237 #729B37
triadic
#9B9237 #379B92 #92379B
tetradic
#9B9237 #379B60 #37409B #9B3772
square
#9B9237 #379B60 #37409B #9B3772
split-complementary
#9B9237 #37729B #60379B
monochromatic
#413D17 #6E6727 #9B9237 #C0B64F #D0C97C

Accessibility & contrast

On white

3.20
#9B9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9B9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9237
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9237#FFFFFF#000000##000000
##9B92371.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D2C
Deuteranopia (green-blind)
#A2923C
Tritanopia (blue-blind)
#A6887F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b9237;
/* rgb */ color: rgb(155, 146, 55);
/* oklch */ color: oklch(65.0% 0.112 103.7);
Tailwind
colors: {
  custom: {
    50: '#bbb172',
    500: '#9b9237',
    950: '#000000',
  },
}
SCSS
$custom: #9b9237;
$custom-light: #bbb172;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9237",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 54.6,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.11198,
    "h": 103.7
  },
  "luminance": 0.27802
}

Semantic roles & 50–950 ramp

primary
#9B9237
secondary
#747ABA
accent
#5DD751
background
#FBFAF7
surface
#F7F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B9237

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

Preview Lab → · Contrast checker → · Palette generator →

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