#86781F#86781F

#86781F is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.106 H 100.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#86781F
RGBrgb(134, 120, 31)
HSLhsl(52, 62%, 32%)
HSVhsv(52, 77%, 53%)
CMYKcmyk(0%, 10.4%, 76.9%, 47.5%)
CIE-LABlab(50.22, -4.84, 47.67)
CIE-LCHlch(50.22, 47.92, 95.79°)
OKLaboklab(56.92% -0.0184 0.1048)
OKLCHoklch(56.92% 0.106 100)
XYZxyz(16.7961, 18.6010, 4.0017)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86781F #1F2D86
analogous
#86451F #86781F #60861F
triadic
#86781F #1F8678 #781F86
tetradic
#86781F #1F8645 #1F2D86 #861F60
square
#86781F #1F8645 #1F2D86 #861F60
split-complementary
#86781F #1F6086 #451F86
monochromatic
#231F08 #544B14 #86781F #B8A52A #D5C24A

Accessibility & contrast

On white

4.45
#86781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#86781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86781F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86781F#FFFFFF#000000##000000
##86781F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#916F67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #86781f;
/* rgb */ color: rgb(134, 120, 31);
/* oklch */ color: oklch(56.9% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#ad9e62',
    500: '#86781f',
    950: '#000000',
  },
}
SCSS
$custom: #86781f;
$custom-light: #ad9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#86781f",
  "rgb": {
    "r": 134,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 51.845,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.1064,
    "h": 100
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#86781F
secondary
#4958B8
accent
#58E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #86781F

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

Preview Lab → · Contrast checker → · Palette generator →

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