#96841D#96841D

#96841D is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.117 H 98.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#96841D
RGBrgb(150, 132, 29)
HSLhsl(51, 68%, 35%)
HSVhsv(51, 81%, 59%)
CMYKcmyk(0%, 12%, 80.7%, 41.2%)
CIE-LABlab(55.15, -4.17, 53.49)
CIE-LCHlch(55.15, 53.65, 94.45°)
OKLaboklab(61.2% -0.0176 0.1161)
OKLCHoklch(61.2% 0.117 98.6)
XYZxyz(21.0518, 23.0764, 4.5075)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96841D #1D2F96
analogous
#96471D #96841D #6C961D
triadic
#96841D #1D9684 #841D96
tetradic
#96841D #1D9647 #1D2F96 #961D6C
square
#96841D #1D9647 #1D2F96 #961D6C
split-complementary
#96841D #1D6C96 #471D96
monochromatic
#2F2A09 #635713 #96841D #C9B127 #DDC850

Accessibility & contrast

On white

3.74
#96841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#96841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96841D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96841D#FFFFFF#000000##000000
##96841D1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928002
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A27971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96841d;
/* rgb */ color: rgb(150, 132, 29);
/* oklch */ color: oklch(61.2% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#b9a763',
    500: '#96841d',
    950: '#000000',
  },
}
SCSS
$custom: #96841d;
$custom-light: #b9a763;
$custom-dark: #000000;
JSON
{
  "hex": "#96841d",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 51.074,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.11739,
    "h": 98.6
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#96841D
secondary
#4F60C0
accent
#57EA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96841D

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

Preview Lab → · Contrast checker → · Palette generator →

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