#9B861E#9B861E

#9B861E is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.119 H 96.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9B861E
RGBrgb(155, 134, 30)
HSLhsl(50, 68%, 36%)
HSVhsv(50, 81%, 61%)
CMYKcmyk(0%, 13.5%, 80.6%, 39.2%)
CIE-LABlab(56.20, -2.93, 54.28)
CIE-LCHlch(56.20, 54.36, 93.09°)
OKLaboklab(62.15% -0.0143 0.1177)
OKLCHoklch(62.15% 0.119 96.9)
XYZxyz(22.2782, 24.1137, 4.7090)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B861E #1E339B
analogous
#9B481E #9B861E #729B1E
triadic
#9B861E #1E9B86 #861E9B
tetradic
#9B861E #1E9B48 #1E339B #9B1E72
square
#9B861E #1E9B48 #1E339B #9B1E72
split-complementary
#9B861E #1E729B #481E9B
monochromatic
#342D0A #685A14 #9B861E #CEB228 #DEC755

Accessibility & contrast

On white

3.61
#9B861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9B861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B861E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B861E#FFFFFF#000000##000000
##9B861E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b861e;
/* rgb */ color: rgb(155, 134, 30);
/* oklch */ color: oklch(62.1% 0.119 96.9);
Tailwind
colors: {
  custom: {
    50: '#bca864',
    500: '#9b861e',
    950: '#000000',
  },
}
SCSS
$custom: #9b861e;
$custom-light: #bca864;
$custom-dark: #000000;
JSON
{
  "hex": "#9b861e",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 49.92,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.11859,
    "h": 96.9
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#9B861E
secondary
#5366C2
accent
#5AEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B861E

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

Preview Lab → · Contrast checker → · Palette generator →

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