#96872B#96872B

#96872B is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.111 H 99.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#96872B
RGBrgb(150, 135, 43)
HSLhsl(52, 55%, 38%)
HSVhsv(52, 71%, 59%)
CMYKcmyk(0%, 10%, 71.3%, 41.2%)
CIE-LABlab(56.08, -5.18, 49.13)
CIE-LCHlch(56.08, 49.40, 96.01°)
OKLaboklab(61.96% -0.019 0.1096)
OKLCHoklch(61.96% 0.111 99.8)
XYZxyz(21.6787, 23.9874, 5.7732)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96872B #2B3A96
analogous
#96522B #96872B #6F962B
triadic
#96872B #2B9687 #872B96
tetradic
#96872B #2B9652 #2B3A96 #962B6F
square
#96872B #2B9652 #2B3A96 #962B6F
split-complementary
#96872B #2B6F96 #522B96
monochromatic
#373110 #665C1D #96872B #C6B239 #D4C568

Accessibility & contrast

On white

3.62
#96872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#96872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96872B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96872B#FFFFFF#000000##000000
##96872B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96872b;
/* rgb */ color: rgb(150, 135, 43);
/* oklch */ color: oklch(62.0% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#b8a96a',
    500: '#96872b',
    950: '#000000',
  },
}
SCSS
$custom: #96872b;
$custom-light: #b8a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#96872b",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 51.589,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.11124,
    "h": 99.8
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#96872B
secondary
#636FBA
accent
#5EDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96872B

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

Preview Lab → · Contrast checker → · Palette generator →

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