#9B862D#9B862D

#9B862D is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.109 H 95.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9B862D
RGBrgb(155, 134, 45)
HSLhsl(49, 55%, 39%)
HSVhsv(49, 71%, 61%)
CMYKcmyk(0%, 13.5%, 71%, 39.2%)
CIE-LABlab(56.30, -2.24, 48.67)
CIE-LCHlch(56.30, 48.73, 92.64°)
OKLaboklab(62.25% -0.0107 0.1088)
OKLCHoklch(62.25% 0.109 95.6)
XYZxyz(22.5174, 24.2094, 5.9689)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B862D #2D429B
analogous
#9B4F2D #9B862D #799B2D
triadic
#9B862D #2D9B86 #862D9B
tetradic
#9B862D #2D9B4F #2D429B #9B2D79
square
#9B862D #2D9B4F #2D429B #9B2D79
split-complementary
#9B862D #2D799B #4F2D9B
monochromatic
#3C3411 #6C5D1F #9B862D #C7AD3E #D5C16E

Accessibility & contrast

On white

3.59
#9B862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9B862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B862D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B862D#FFFFFF#000000##000000
##9B862D1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#A77C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b862d;
/* rgb */ color: rgb(155, 134, 45);
/* oklch */ color: oklch(62.3% 0.109 95.6);
Tailwind
colors: {
  custom: {
    50: '#bca86b',
    500: '#9b862d',
    950: '#000000',
  },
}
SCSS
$custom: #9b862d;
$custom-light: #bca86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b862d",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 48.545,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.10935,
    "h": 95.6
  },
  "luminance": 0.24208
}

Semantic roles & 50–950 ramp

primary
#9B862D
secondary
#6878BC
accent
#66DE49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B862D

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

Preview Lab → · Contrast checker → · Palette generator →

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