#96862C#96862C

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

Color values

HEX#96862C
RGBrgb(150, 134, 44)
HSLhsl(51, 55%, 38%)
HSVhsv(51, 71%, 59%)
CMYKcmyk(0%, 10.7%, 70.7%, 41.2%)
CIE-LABlab(55.80, -4.57, 48.44)
CIE-LCHlch(55.80, 48.66, 95.39°)
OKLaboklab(61.75% -0.0171 0.1083)
OKLCHoklch(61.75% 0.11 99)
XYZxyz(21.5584, 23.7171, 5.8247)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96862C #2C3C96
analogous
#96512C #96862C #71962C
triadic
#96862C #2C9686 #862C96
tetradic
#96862C #2C9651 #2C3C96 #962C71
square
#96862C #2C9651 #2C3C96 #962C71
split-complementary
#96862C #2C7196 #512C96
monochromatic
#373110 #675C1E #96862C #C5B03A #D3C369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96862C#FFFFFF#000000##000000
##96862C1.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)
#93821F
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96862c;
/* rgb */ color: rgb(150, 134, 44);
/* oklch */ color: oklch(61.7% 0.110 99.0);
Tailwind
colors: {
  custom: {
    50: '#b8a86b',
    500: '#96862c',
    950: '#000000',
  },
}
SCSS
$custom: #96862c;
$custom-light: #b8a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#96862c",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 50.943,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.10968,
    "h": 99
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#96862C
secondary
#6471BA
accent
#60DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96862C

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

Preview Lab → · Contrast checker → · Palette generator →

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