#96861E#96861E

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

Color values

HEX#96861E
RGBrgb(150, 134, 30)
HSLhsl(52, 67%, 35%)
HSVhsv(52, 80%, 59%)
CMYKcmyk(0%, 10.7%, 80%, 41.2%)
CIE-LABlab(55.71, -5.23, 53.66)
CIE-LCHlch(55.71, 53.92, 95.56°)
OKLaboklab(61.65% -0.0205 0.1167)
OKLCHoklch(61.65% 0.118 100)
XYZxyz(21.3382, 23.6290, 4.6650)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96861E #1E2E96
analogous
#964A1E #96861E #6A961E
triadic
#96861E #1E9686 #861E96
tetradic
#96861E #1E964A #1E2E96 #961E6A
square
#96861E #1E964A #1E2E96 #961E6A
split-complementary
#96861E #1E6A96 #4A1E96
monochromatic
#302B0A #635814 #96861E #C9B428 #DCCA52

Accessibility & contrast

On white

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

On black

5.73
#96861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96861E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96861E#FFFFFF#000000##000000
##96861E1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A27C73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96861e;
/* rgb */ color: rgb(150, 134, 30);
/* oklch */ color: oklch(61.6% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#b9a864',
    500: '#96861e',
    950: '#000000',
  },
}
SCSS
$custom: #96861e;
$custom-light: #b9a864;
$custom-dark: #000000;
JSON
{
  "hex": "#96861e",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 52,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.11844,
    "h": 100
  },
  "luminance": 0.23628
}

Semantic roles & 50–950 ramp

primary
#96861E
secondary
#505FBF
accent
#55EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96861E

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

Preview Lab → · Contrast checker → · Palette generator →

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