#96871D#96871D

#96871D is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.120 H 100.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#96871D
RGBrgb(150, 135, 29)
HSLhsl(53, 68%, 35%)
HSVhsv(53, 81%, 59%)
CMYKcmyk(0%, 10%, 80.7%, 41.2%)
CIE-LABlab(55.99, -5.81, 54.24)
CIE-LCHlch(55.99, 54.55, 96.12°)
OKLaboklab(61.86% -0.0222 0.1177)
OKLCHoklch(61.86% 0.12 100.7)
XYZxyz(21.4645, 23.9017, 4.6450)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96871D #1D2C96
analogous
#964A1D #96871D #68961D
triadic
#96871D #1D9687 #871D96
tetradic
#96871D #1D964A #1D2C96 #961D68
square
#96871D #1D964A #1D2C96 #961D68
split-complementary
#96871D #1D6896 #4A1D96
monochromatic
#2F2B09 #635913 #96871D #C9B527 #DDCC50

Accessibility & contrast

On white

3.63
#96871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#96871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96871D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96871D#FFFFFF#000000##000000
##96871D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#A27D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96871d;
/* rgb */ color: rgb(150, 135, 29);
/* oklch */ color: oklch(61.9% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#b9a963',
    500: '#96871d',
    950: '#000000',
  },
}
SCSS
$custom: #96871d;
$custom-light: #b9a963;
$custom-dark: #000000;
JSON
{
  "hex": "#96871d",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 52.562,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61863,
    "c": 0.11975,
    "h": 100.7
  },
  "luminance": 0.23901
}

Semantic roles & 50–950 ramp

primary
#96871D
secondary
#4F5DC0
accent
#53EA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96871D

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

Preview Lab → · Contrast checker → · Palette generator →

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