#96873D#96873D

#96873D is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.096 H 98.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#96873D
RGBrgb(150, 135, 61)
HSLhsl(50, 42%, 41%)
HSVhsv(50, 59%, 59%)
CMYKcmyk(0%, 10%, 59.3%, 41.2%)
CIE-LABlab(56.24, -3.98, 41.09)
CIE-LCHlch(56.24, 41.28, 95.53°)
OKLaboklab(62.14% -0.0134 0.0954)
OKLCHoklch(62.14% 0.096 98)
XYZxyz(22.0848, 24.1498, 7.9121)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96873D #3D4C96
analogous
#965B3D #96873D #79963D
triadic
#96873D #3D9687 #873D96
tetradic
#96873D #3D965B #3D4C96 #963D79
square
#96873D #3D965B #3D4C96 #963D79
split-complementary
#96873D #3D7996 #5B3D96
monochromatic
#3F391A #6A602B #96873D #BAA956 #CCBF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96873D#FFFFFF#000000##000000
##96873D1.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)
#938436
Deuteranopia (green-blind)
#978940
Tritanopia (blue-blind)
#A17E77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #96873d;
/* rgb */ color: rgb(150, 135, 61);
/* oklch */ color: oklch(62.1% 0.096 98.0);
Tailwind
colors: {
  custom: {
    50: '#b7a975',
    500: '#96873d',
    950: '#000000',
  },
}
SCSS
$custom: #96873d;
$custom-light: #b7a975;
$custom-dark: #000000;
JSON
{
  "hex": "#96873d",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 49.888,
    "s": 42.18,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62139,
    "c": 0.09628,
    "h": 98
  },
  "luminance": 0.24149
}

Semantic roles & 50–950 ramp

primary
#96873D
secondary
#7983B6
accent
#6BD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #96873D

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

Preview Lab → · Contrast checker → · Palette generator →

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