#96861B#96861B

#96861B is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.120 H 100.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#96861B
RGBrgb(150, 134, 27)
HSLhsl(52, 69%, 35%)
HSVhsv(52, 82%, 59%)
CMYKcmyk(0%, 10.7%, 82%, 41.2%)
CIE-LABlab(55.70, -5.34, 54.61)
CIE-LCHlch(55.70, 54.87, 95.58°)
OKLaboklab(61.63% -0.0211 0.1181)
OKLCHoklch(61.63% 0.12 100.1)
XYZxyz(21.3017, 23.6144, 4.4727)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96861B #1B2B96
analogous
#96481B #96861B #69961B
triadic
#96861B #1B9686 #861B96
tetradic
#96861B #1B9648 #1B2B96 #961B69
square
#96861B #1B9648 #1B2B96 #961B69
split-complementary
#96861B #1B6996 #481B96
monochromatic
#2E2908 #625812 #96861B #CAB424 #DFCC4D

Accessibility & contrast

On white

3.67
#96861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#96861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96861B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96861B#FFFFFF#000000##000000
##96861B1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#A27B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96861b;
/* rgb */ color: rgb(150, 134, 27);
/* oklch */ color: oklch(61.6% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#b9a862',
    500: '#96861b',
    950: '#000000',
  },
}
SCSS
$custom: #96861b;
$custom-light: #b9a862;
$custom-dark: #000000;
JSON
{
  "hex": "#96861b",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 52.195,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.11994,
    "h": 100.1
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#96861B
secondary
#4C5BC1
accent
#52EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96861B

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

Preview Lab → · Contrast checker → · Palette generator →

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