#93871D#93871D

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

Color values

HEX#93871D
RGBrgb(147, 135, 29)
HSLhsl(54, 67%, 35%)
HSVhsv(54, 80%, 58%)
CMYKcmyk(0%, 8.2%, 80.3%, 42.4%)
CIE-LABlab(55.71, -7.19, 53.88)
CIE-LCHlch(55.71, 54.35, 97.60°)
OKLaboklab(61.57% -0.026 0.1171)
OKLCHoklch(61.57% 0.12 102.5)
XYZxyz(20.9194, 23.6206, 4.6195)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93871D #1D2993
analogous
#934C1D #93871D #64931D
triadic
#93871D #1D9387 #871D93
tetradic
#93871D #1D934C #1D2993 #931D64
square
#93871D #1D934C #1D2993 #931D64
split-complementary
#93871D #1D6493 #4C1D93
monochromatic
#2D2909 #605813 #93871D #C6B627 #DCCE4E

Accessibility & contrast

On white

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

On black

5.72
#93871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #93871D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93871D#FFFFFF#000000##000000
##93871D1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#9F7D73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #93871d;
/* rgb */ color: rgb(147, 135, 29);
/* oklch */ color: oklch(61.6% 0.120 102.5);
Tailwind
colors: {
  custom: {
    50: '#b6a963',
    500: '#93871d',
    950: '#000000',
  },
}
SCSS
$custom: #93871d;
$custom-light: #b6a963;
$custom-dark: #000000;
JSON
{
  "hex": "#93871d",
  "rgb": {
    "r": 147,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 53.898,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.11989,
    "h": 102.5
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

primary
#93871D
secondary
#4D59BF
accent
#4FEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #93871D

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

Preview Lab → · Contrast checker → · Palette generator →

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