#96842B#96842B

#96842B is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.109 H 97.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#96842B
RGBrgb(150, 132, 43)
HSLhsl(50, 55%, 38%)
HSVhsv(50, 71%, 59%)
CMYKcmyk(0%, 12%, 71.3%, 41.2%)
CIE-LABlab(55.24, -3.52, 48.29)
CIE-LCHlch(55.24, 48.42, 94.17°)
OKLaboklab(61.3% -0.0143 0.1078)
OKLCHoklch(61.3% 0.109 97.5)
XYZxyz(21.2660, 23.1620, 5.6356)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96842B #2B3D96
analogous
#964F2B #96842B #72962B
triadic
#96842B #2B9684 #842B96
tetradic
#96842B #2B964F #2B3D96 #962B72
square
#96842B #2B964F #2B3D96 #962B72
split-complementary
#96842B #2B7296 #4F2B96
monochromatic
#373010 #665A1D #96842B #C6AE39 #D4C168

Accessibility & contrast

On white

3.73
#96842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#96842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96842B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96842B#FFFFFF#000000##000000
##96842B1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811E
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96842b;
/* rgb */ color: rgb(150, 132, 43);
/* oklch */ color: oklch(61.3% 0.109 97.5);
Tailwind
colors: {
  custom: {
    50: '#b8a76a',
    500: '#96842b',
    950: '#000000',
  },
}
SCSS
$custom: #96842b;
$custom-light: #b8a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#96842b",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 49.907,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.10877,
    "h": 97.5
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#96842B
secondary
#6371BA
accent
#62DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96842B

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

Preview Lab → · Contrast checker → · Palette generator →

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