#96862D#96862D

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

Color values

HEX#96862D
RGBrgb(150, 134, 45)
HSLhsl(51, 54%, 38%)
HSVhsv(51, 70%, 59%)
CMYKcmyk(0%, 10.7%, 70%, 41.2%)
CIE-LABlab(55.81, -4.51, 48.02)
CIE-LCHlch(55.81, 48.24, 95.37°)
OKLaboklab(61.75% -0.0169 0.1076)
OKLCHoklch(61.75% 0.109 98.9)
XYZxyz(21.5774, 23.7247, 5.9249)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96862D #2D3D96
analogous
#96512D #96862D #71962D
triadic
#96862D #2D9686 #862D96
tetradic
#96862D #2D9651 #2D3D96 #962D71
square
#96862D #2D9651 #2D3D96 #962D71
split-complementary
#96862D #2D7196 #512D96
monochromatic
#383211 #675C1F #96862D #C4B03C #D3C36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96862D#FFFFFF#000000##000000
##96862D1.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)
#938221
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96862d;
/* rgb */ color: rgb(150, 134, 45);
/* oklch */ color: oklch(61.8% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#b8a86b',
    500: '#96862d',
    950: '#000000',
  },
}
SCSS
$custom: #96862d;
$custom-light: #b8a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#96862d",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 50.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.10894,
    "h": 98.9
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#96862D
secondary
#6572B9
accent
#61DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96862D

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

Preview Lab → · Contrast checker → · Palette generator →

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