#96872C#96872C

#96872C 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#96872C
RGBrgb(150, 135, 44)
HSLhsl(52, 55%, 38%)
HSVhsv(52, 71%, 59%)
CMYKcmyk(0%, 10%, 70.7%, 41.2%)
CIE-LABlab(56.08, -5.12, 48.72)
CIE-LCHlch(56.08, 48.99, 96.00°)
OKLaboklab(61.97% -0.0187 0.1089)
OKLCHoklch(61.97% 0.111 99.8)
XYZxyz(21.6973, 23.9948, 5.8710)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96872C #2C3B96
analogous
#96522C #96872C #70962C
triadic
#96872C #2C9687 #872C96
tetradic
#96872C #2C9652 #2C3B96 #962C70
square
#96872C #2C9652 #2C3B96 #962C70
split-complementary
#96872C #2C7096 #522C96
monochromatic
#373210 #675C1E #96872C #C5B23A #D3C469

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96872C#FFFFFF#000000##000000
##96872C1.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)
#94831F
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96872c;
/* rgb */ color: rgb(150, 135, 44);
/* oklch */ color: oklch(62.0% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#b8a96b',
    500: '#96872c',
    950: '#000000',
  },
}
SCSS
$custom: #96872c;
$custom-light: #b8a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#96872c",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 51.509,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.11052,
    "h": 99.8
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#96872C
secondary
#6470BA
accent
#5FDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96872C

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

Preview Lab → · Contrast checker → · Palette generator →

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