#96861D#96861D

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

Color values

HEX#96861D
RGBrgb(150, 134, 29)
HSLhsl(52, 68%, 35%)
HSVhsv(52, 81%, 59%)
CMYKcmyk(0%, 10.7%, 80.7%, 41.2%)
CIE-LABlab(55.71, -5.27, 53.99)
CIE-LCHlch(55.71, 54.24, 95.57°)
OKLaboklab(61.64% -0.0207 0.1171)
OKLCHoklch(61.64% 0.119 100)
XYZxyz(21.3256, 23.6240, 4.5988)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96861D #1D2D96
analogous
#96491D #96861D #6A961D
triadic
#96861D #1D9686 #861D96
tetradic
#96861D #1D9649 #1D2D96 #961D6A
square
#96861D #1D9649 #1D2D96 #961D6A
split-complementary
#96861D #1D6A96 #491D96
monochromatic
#2F2A09 #635813 #96861D #C9B427 #DDCB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96861D#FFFFFF#000000##000000
##96861D1.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)
#948201
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A27B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96861d;
/* rgb */ color: rgb(150, 134, 29);
/* oklch */ color: oklch(61.6% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#b9a863',
    500: '#96861d',
    950: '#000000',
  },
}
SCSS
$custom: #96861d;
$custom-light: #b9a863;
$custom-dark: #000000;
JSON
{
  "hex": "#96861d",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 52.066,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.11895,
    "h": 100
  },
  "luminance": 0.23623
}

Semantic roles & 50–950 ramp

primary
#96861D
secondary
#4F5EC0
accent
#54EA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96861D

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

Preview Lab → · Contrast checker → · Palette generator →

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