#9B8232#9B8232

#9B8232 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.103 H 91.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9B8232
RGBrgb(155, 130, 50)
HSLhsl(46, 51%, 40%)
HSVhsv(46, 68%, 61%)
CMYKcmyk(0%, 16.1%, 67.7%, 39.2%)
CIE-LABlab(55.24, 0.27, 45.37)
CIE-LCHlch(55.24, 45.37, 89.65°)
OKLaboklab(61.43% -0.0029 0.1027)
OKLCHoklch(61.43% 0.103 91.6)
XYZxyz(22.0770, 23.1654, 6.3255)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8232 #324B9B
analogous
#9B4D32 #9B8232 #809B32
triadic
#9B8232 #329B82 #82329B
tetradic
#9B8232 #329B4D #324B9B #9B3280
square
#9B8232 #329B4D #324B9B #9B3280
split-complementary
#9B8232 #32809B #4D329B
monochromatic
#3E3414 #6D5B23 #9B8232 #C4A647 #D2BC75

Accessibility & contrast

On white

3.73
#9B8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9B8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8232
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8232#FFFFFF#000000##000000
##9B82321.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#A77871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9b8232;
/* rgb */ color: rgb(155, 130, 50);
/* oklch */ color: oklch(61.4% 0.103 91.6);
Tailwind
colors: {
  custom: {
    50: '#bca66e',
    500: '#9b8232',
    950: '#000000',
  },
}
SCSS
$custom: #9b8232;
$custom-light: #bca66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8232",
  "rgb": {
    "r": 155,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 45.714,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.10276,
    "h": 91.6
  },
  "luminance": 0.23164
}

Semantic roles & 50–950 ramp

primary
#9B8232
secondary
#6E80BB
accent
#6FDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B8232

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

Preview Lab → · Contrast checker → · Palette generator →

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