#93791F#93791F

#93791F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.5% C 0.108 H 91.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#93791F
RGBrgb(147, 121, 31)
HSLhsl(47, 65%, 35%)
HSVhsv(47, 79%, 58%)
CMYKcmyk(0%, 17.7%, 78.9%, 42.4%)
CIE-LABlab(51.81, 0.67, 49.64)
CIE-LCHlch(51.81, 49.64, 89.23°)
OKLaboklab(58.49% -0.0035 0.1084)
OKLCHoklch(58.49% 0.108 91.9)
XYZxyz(19.1184, 19.9779, 4.1452)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93791F #1F3993
analogous
#933F1F #93791F #73931F
triadic
#93791F #1F9379 #791F93
tetradic
#93791F #1F933F #1F3993 #931F73
square
#93791F #1F933F #1F3993 #931F73
split-complementary
#93791F #1F7393 #3F1F93
monochromatic
#2E260A #604F14 #93791F #C6A32A #DABC52

Accessibility & contrast

On white

4.20
#93791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#93791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #93791F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93791F#FFFFFF#000000##000000
##93791F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#A06E68
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #93791f;
/* rgb */ color: rgb(147, 121, 31);
/* oklch */ color: oklch(58.5% 0.108 91.9);
Tailwind
colors: {
  custom: {
    50: '#b79f62',
    500: '#93791f',
    950: '#000000',
  },
}
SCSS
$custom: #93791f;
$custom-light: #b79f62;
$custom-dark: #000000;
JSON
{
  "hex": "#93791f",
  "rgb": {
    "r": 147,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 46.552,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.10844,
    "h": 91.9
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#93791F
secondary
#5069BE
accent
#65E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #93791F

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

Preview Lab → · Contrast checker → · Palette generator →

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