#93831F#93831F

#93831F is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.116 H 99.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#93831F
RGBrgb(147, 131, 31)
HSLhsl(52, 65%, 35%)
HSVhsv(52, 79%, 58%)
CMYKcmyk(0%, 10.9%, 78.9%, 42.4%)
CIE-LABlab(54.59, -4.92, 52.20)
CIE-LCHlch(54.59, 52.43, 95.38°)
OKLaboklab(60.69% -0.0194 0.1139)
OKLCHoklch(60.69% 0.116 99.7)
XYZxyz(20.3973, 22.5356, 4.5715)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93831F #1F2F93
analogous
#93491F #93831F #69931F
triadic
#93831F #1F9383 #831F93
tetradic
#93831F #1F9349 #1F2F93 #931F69
square
#93831F #1F9349 #1F2F93 #931F69
split-complementary
#93831F #1F6993 #491F93
monochromatic
#2E290A #605614 #93831F #C6B02A #DAC852

Accessibility & contrast

On white

3.81
#93831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#93831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #93831F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93831F#FFFFFF#000000##000000
##93831F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#9F7970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #93831f;
/* rgb */ color: rgb(147, 131, 31);
/* oklch */ color: oklch(60.7% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#b6a664',
    500: '#93831f',
    950: '#000000',
  },
}
SCSS
$custom: #93831f;
$custom-light: #b6a664;
$custom-dark: #000000;
JSON
{
  "hex": "#93831f",
  "rgb": {
    "r": 147,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 51.724,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.1155,
    "h": 99.7
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#93831F
secondary
#505FBE
accent
#57E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #93831F

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

Preview Lab → · Contrast checker → · Palette generator →

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