#9B804B#9B804B

#9B804B is a mid, moderate orange. Relative luminance 0.229; OKLCH L 61.3% C 0.078 H 83.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9B804B
RGBrgb(155, 128, 75)
HSLhsl(40, 35%, 45%)
HSVhsv(40, 52%, 61%)
CMYKcmyk(0%, 17.4%, 51.6%, 39.2%)
CIE-LABlab(54.99, 3.36, 32.48)
CIE-LCHlch(54.99, 32.65, 84.08°)
OKLaboklab(61.32% 0.0093 0.0779)
OKLCHoklch(61.32% 0.078 83.2)
XYZxyz(22.5076, 22.9161, 9.8930)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B804B #4B669B
analogous
#9B584B #9B804B #8E9B4B
triadic
#9B804B #4B9B80 #804B9B
tetradic
#9B804B #4B9B58 #4B669B #9B4B8E
square
#9B804B #4B9B58 #4B669B #9B4B8E
split-complementary
#9B804B #4B8E9B #584B9B
monochromatic
#493C23 #725E37 #9B804B #B89E6C #CCB995

Accessibility & contrast

On white

3.76
#9B804B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9B804B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B804B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B804B#FFFFFF#000000##000000
##9B804B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8047
Deuteranopia (green-blind)
#93864D
Tritanopia (blue-blind)
#A67773
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9b804b;
/* rgb */ color: rgb(155, 128, 75);
/* oklch */ color: oklch(61.3% 0.078 83.2);
Tailwind
colors: {
  custom: {
    50: '#baa47e',
    500: '#9b804b',
    950: '#000000',
  },
}
SCSS
$custom: #9b804b;
$custom-light: #baa47e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b804b",
  "rgb": {
    "r": 155,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 39.75,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.07843,
    "h": 83.2
  },
  "luminance": 0.22915
}

Semantic roles & 50–950 ramp

primary
#9B804B
secondary
#8A99B8
accent
#82CB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F0A
muted
#817F7C

Preview Lab

Preview with #9B804B

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

Preview Lab → · Contrast checker → · Palette generator →

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