#93871F#93871F

#93871F is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.119 H 102.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#93871F
RGBrgb(147, 135, 31)
HSLhsl(54, 65%, 35%)
HSVhsv(54, 79%, 58%)
CMYKcmyk(0%, 8.2%, 78.9%, 42.4%)
CIE-LABlab(55.72, -7.12, 53.22)
CIE-LCHlch(55.72, 53.70, 97.61°)
OKLaboklab(61.58% -0.0256 0.1161)
OKLCHoklch(61.58% 0.119 102.4)
XYZxyz(20.9449, 23.6309, 4.7540)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93871F #1F2B93
analogous
#934D1F #93871F #65931F
triadic
#93871F #1F9387 #871F93
tetradic
#93871F #1F934D #1F2B93 #931F65
square
#93871F #1F934D #1F2B93 #931F65
split-complementary
#93871F #1F6593 #4D1F93
monochromatic
#2E2A0A #605914 #93871F #C6B52A #DACC52

Accessibility & contrast

On white

3.67
#93871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#93871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #93871F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93871F#FFFFFF#000000##000000
##93871F1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948305
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#9F7D74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #93871f;
/* rgb */ color: rgb(147, 135, 31);
/* oklch */ color: oklch(61.6% 0.119 102.4);
Tailwind
colors: {
  custom: {
    50: '#b6a964',
    500: '#93871f',
    950: '#000000',
  },
}
SCSS
$custom: #93871f;
$custom-light: #b6a964;
$custom-dark: #000000;
JSON
{
  "hex": "#93871f",
  "rgb": {
    "r": 147,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 53.793,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.11883,
    "h": 102.4
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#93871F
secondary
#505BBE
accent
#51E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #93871F

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

Preview Lab → · Contrast checker → · Palette generator →

#93871F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva