#96872D#96872D

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

Color values

HEX#96872D
RGBrgb(150, 135, 45)
HSLhsl(51, 54%, 38%)
HSVhsv(51, 70%, 59%)
CMYKcmyk(0%, 10%, 70%, 41.2%)
CIE-LABlab(56.09, -5.06, 48.31)
CIE-LCHlch(56.09, 48.57, 95.98°)
OKLaboklab(61.98% -0.0184 0.1082)
OKLCHoklch(61.98% 0.11 99.7)
XYZxyz(21.7163, 24.0024, 5.9712)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96872D #2D3C96
analogous
#96532D #96872D #70962D
triadic
#96872D #2D9687 #872D96
tetradic
#96872D #2D9653 #2D3C96 #962D70
square
#96872D #2D9653 #2D3C96 #962D70
split-complementary
#96872D #2D7096 #532D96
monochromatic
#383211 #675D1F #96872D #C4B13C #D3C46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96872D#FFFFFF#000000##000000
##96872D1.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)
#948320
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96872d;
/* rgb */ color: rgb(150, 135, 45);
/* oklch */ color: oklch(62.0% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#b8a96b',
    500: '#96872d',
    950: '#000000',
  },
}
SCSS
$custom: #96872d;
$custom-light: #b8a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#96872d",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 51.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.10979,
    "h": 99.7
  },
  "luminance": 0.24001
}

Semantic roles & 50–950 ramp

primary
#96872D
secondary
#6571B9
accent
#60DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96872D

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

Preview Lab → · Contrast checker → · Palette generator →

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