#86791B#86791B

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

Color values

HEX#86791B
RGBrgb(134, 121, 27)
HSLhsl(53, 66%, 32%)
HSVhsv(53, 80%, 53%)
CMYKcmyk(0%, 9.7%, 79.9%, 47.5%)
CIE-LABlab(50.48, -5.57, 49.37)
CIE-LCHlch(50.48, 49.68, 96.44°)
OKLaboklab(57.12% -0.0209 0.1076)
OKLCHoklch(57.12% 0.11 101)
XYZxyz(16.8675, 18.8230, 3.7814)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86791B #1B2886
analogous
#86441B #86791B #5E861B
triadic
#86791B #1B8679 #791B86
tetradic
#86791B #1B8644 #1B2886 #861B5E
square
#86791B #1B8644 #1B2886 #861B5E
split-complementary
#86791B #1B5E86 #441B86
monochromatic
#201D06 #534B11 #86791B #B9A725 #D9C742

Accessibility & contrast

On white

4.41
#86791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#86791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86791B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86791B#FFFFFF#000000##000000
##86791B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#917067
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #86791b;
/* rgb */ color: rgb(134, 121, 27);
/* oklch */ color: oklch(57.1% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#ad9f60',
    500: '#86791b',
    950: '#000000',
  },
}
SCSS
$custom: #86791b;
$custom-light: #ad9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#86791b",
  "rgb": {
    "r": 134,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 52.71,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.1096,
    "h": 101
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#86791B
secondary
#4452B9
accent
#53E93E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #86791B

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

Preview Lab → · Contrast checker → · Palette generator →

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