#96861C#96861C

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

Color values

HEX#96861C
RGBrgb(150, 134, 28)
HSLhsl(52, 69%, 35%)
HSVhsv(52, 81%, 59%)
CMYKcmyk(0%, 10.7%, 81.3%, 41.2%)
CIE-LABlab(55.70, -5.30, 54.30)
CIE-LCHlch(55.70, 54.56, 95.58°)
OKLaboklab(61.64% -0.0209 0.1176)
OKLCHoklch(61.64% 0.119 100.1)
XYZxyz(21.3135, 23.6191, 4.5347)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96861C #1C2C96
analogous
#96491C #96861C #69961C
triadic
#96861C #1C9686 #861C96
tetradic
#96861C #1C9649 #1C2C96 #961C69
square
#96861C #1C9649 #1C2C96 #961C69
split-complementary
#96861C #1C6996 #491C96
monochromatic
#2F2A09 #625812 #96861C #CAB426 #DECB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96861C#FFFFFF#000000##000000
##96861C1.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: #96861c;
/* rgb */ color: rgb(150, 134, 28);
/* oklch */ color: oklch(61.6% 0.119 100.1);
Tailwind
colors: {
  custom: {
    50: '#b9a863',
    500: '#96861c',
    950: '#000000',
  },
}
SCSS
$custom: #96861c;
$custom-light: #b9a863;
$custom-dark: #000000;
JSON
{
  "hex": "#96861c",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 52.131,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.11945,
    "h": 100.1
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#96861C
secondary
#4D5CC1
accent
#53EB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96861C

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

Preview Lab → · Contrast checker → · Palette generator →

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