#96873E#96873E

#96873E is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.095 H 97.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#96873E
RGBrgb(150, 135, 62)
HSLhsl(50, 42%, 42%)
HSVhsv(50, 59%, 59%)
CMYKcmyk(0%, 10%, 58.7%, 41.2%)
CIE-LABlab(56.25, -3.90, 40.61)
CIE-LCHlch(56.25, 40.79, 95.49°)
OKLaboklab(62.15% -0.013 0.0944)
OKLCHoklch(62.15% 0.095 97.9)
XYZxyz(22.1120, 24.1607, 8.0552)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96873E #3E4D96
analogous
#965B3E #96873E #79963E
triadic
#96873E #3E9687 #873E96
tetradic
#96873E #3E965B #3E4D96 #963E79
square
#96873E #3E965B #3E4D96 #963E79
split-complementary
#96873E #3E7996 #5B3E96
monochromatic
#3F391A #6B602C #96873E #BAA957 #CCBF83

Accessibility & contrast

On white

3.60
#96873E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#96873E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96873E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96873E#FFFFFF#000000##000000
##96873E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#A17E77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #96873e;
/* rgb */ color: rgb(150, 135, 62);
/* oklch */ color: oklch(62.2% 0.095 97.9);
Tailwind
colors: {
  custom: {
    50: '#b7a976',
    500: '#96873e',
    950: '#000000',
  },
}
SCSS
$custom: #96873e;
$custom-light: #b7a976;
$custom-dark: #000000;
JSON
{
  "hex": "#96873e",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 49.773,
    "s": 41.509,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62151,
    "c": 0.09533,
    "h": 97.9
  },
  "luminance": 0.2416
}

Semantic roles & 50–950 ramp

primary
#96873E
secondary
#7A84B6
accent
#6BD156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #96873E

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

Preview Lab → · Contrast checker → · Palette generator →

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