#86791F#86791F

#86791F is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.107 H 100.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#86791F
RGBrgb(134, 121, 31)
HSLhsl(52, 62%, 32%)
HSVhsv(52, 77%, 53%)
CMYKcmyk(0%, 9.7%, 76.9%, 47.5%)
CIE-LABlab(50.50, -5.40, 47.94)
CIE-LCHlch(50.50, 48.24, 96.42°)
OKLaboklab(57.15% -0.02 0.1054)
OKLCHoklch(57.15% 0.107 100.7)
XYZxyz(16.9170, 18.8428, 4.0420)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86791F #1F2C86
analogous
#86451F #86791F #60861F
triadic
#86791F #1F8679 #791F86
tetradic
#86791F #1F8645 #1F2C86 #861F60
square
#86791F #1F8645 #1F2C86 #861F60
split-complementary
#86791F #1F6086 #451F86
monochromatic
#231F08 #544C14 #86791F #B8A62A #D5C44A

Accessibility & contrast

On white

4.40
#86791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#86791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86791F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86791F#FFFFFF#000000##000000
##86791F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#917068
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #86791f;
/* rgb */ color: rgb(134, 121, 31);
/* oklch */ color: oklch(57.1% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#ad9f62',
    500: '#86791f',
    950: '#000000',
  },
}
SCSS
$custom: #86791f;
$custom-light: #ad9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#86791f",
  "rgb": {
    "r": 134,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 52.427,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.10726,
    "h": 100.7
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#86791F
secondary
#4957B8
accent
#57E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #86791F

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

Preview Lab → · Contrast checker → · Palette generator →

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