#96841B#96841B

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

Color values

HEX#96841B
RGBrgb(150, 132, 27)
HSLhsl(51, 69%, 35%)
HSVhsv(51, 82%, 59%)
CMYKcmyk(0%, 12%, 82%, 41.2%)
CIE-LABlab(55.14, -4.24, 54.12)
CIE-LCHlch(55.14, 54.29, 94.48°)
OKLaboklab(61.19% -0.018 0.117)
OKLCHoklch(61.19% 0.118 98.7)
XYZxyz(21.0279, 23.0668, 4.3814)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96841B #1B2D96
analogous
#96471B #96841B #6A961B
triadic
#96841B #1B9684 #841B96
tetradic
#96841B #1B9647 #1B2D96 #961B6A
square
#96841B #1B9647 #1B2D96 #961B6A
split-complementary
#96841B #1B6A96 #471B96
monochromatic
#2E2908 #625612 #96841B #CAB224 #DFC94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96841B#FFFFFF#000000##000000
##96841B1.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)
#928000
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#A27971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96841b;
/* rgb */ color: rgb(150, 132, 27);
/* oklch */ color: oklch(61.2% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#b9a762',
    500: '#96841b',
    950: '#000000',
  },
}
SCSS
$custom: #96841b;
$custom-light: #b9a762;
$custom-dark: #000000;
JSON
{
  "hex": "#96841b",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 51.22,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.11838,
    "h": 98.7
  },
  "luminance": 0.23066
}

Semantic roles & 50–950 ramp

primary
#96841B
secondary
#4C5DC1
accent
#55EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96841B

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

Preview Lab → · Contrast checker → · Palette generator →

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