#96872E#96872E

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

Color values

HEX#96872E
RGBrgb(150, 135, 46)
HSLhsl(51, 53%, 38%)
HSVhsv(51, 69%, 59%)
CMYKcmyk(0%, 10%, 69.3%, 41.2%)
CIE-LABlab(56.10, -5.01, 47.89)
CIE-LCHlch(56.10, 48.15, 95.97°)
OKLaboklab(61.98% -0.0182 0.1075)
OKLCHoklch(61.98% 0.109 99.6)
XYZxyz(21.7358, 24.0102, 6.0738)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96872E #2E3D96
analogous
#96532E #96872E #71962E
triadic
#96872E #2E9687 #872E96
tetradic
#96872E #2E9653 #2E3D96 #962E71
square
#96872E #2E9653 #2E3D96 #962E71
split-complementary
#96872E #2E7196 #532E96
monochromatic
#383311 #675D20 #96872E #C4B03E #D2C36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96872E#FFFFFF#000000##000000
##96872E1.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)
#948322
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96872e;
/* rgb */ color: rgb(150, 135, 46);
/* oklch */ color: oklch(62.0% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#b8a96c',
    500: '#96872e',
    950: '#000000',
  },
}
SCSS
$custom: #96872e;
$custom-light: #b8a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#96872e",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 51.346,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61984,
    "c": 0.10904,
    "h": 99.6
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#96872E
secondary
#6773B9
accent
#60DC4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96872E

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

Preview Lab → · Contrast checker → · Palette generator →

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