#96862B#96862B

#96862B is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.110 H 99.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#96862B
RGBrgb(150, 134, 43)
HSLhsl(51, 55%, 38%)
HSVhsv(51, 71%, 59%)
CMYKcmyk(0%, 10.7%, 71.3%, 41.2%)
CIE-LABlab(55.80, -4.63, 48.85)
CIE-LCHlch(55.80, 49.07, 95.41°)
OKLaboklab(61.74% -0.0174 0.109)
OKLCHoklch(61.74% 0.11 99.1)
XYZxyz(21.5398, 23.7097, 5.7269)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96862B #2B3B96
analogous
#96502B #96862B #70962B
triadic
#96862B #2B9686 #862B96
tetradic
#96862B #2B9650 #2B3B96 #962B70
square
#96862B #2B9650 #2B3B96 #962B70
split-complementary
#96862B #2B7096 #502B96
monochromatic
#373110 #665C1D #96862B #C6B039 #D4C468

Accessibility & contrast

On white

3.66
#96862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#96862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96862B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96862B#FFFFFF#000000##000000
##96862B1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96862b;
/* rgb */ color: rgb(150, 134, 43);
/* oklch */ color: oklch(61.7% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#b8a86a',
    500: '#96862b',
    950: '#000000',
  },
}
SCSS
$custom: #96862b;
$custom-light: #b8a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#96862b",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 51.028,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.11039,
    "h": 99.1
  },
  "luminance": 0.23709
}

Semantic roles & 50–950 ramp

primary
#96862B
secondary
#6370BA
accent
#5FDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96862B

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

Preview Lab → · Contrast checker → · Palette generator →

#96862B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva