#867E1F#867E1F

#867E1F is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.112 H 104.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#867E1F
RGBrgb(134, 126, 31)
HSLhsl(55, 62%, 32%)
HSVhsv(55, 77%, 53%)
CMYKcmyk(0%, 6%, 76.9%, 47.5%)
CIE-LABlab(51.94, -8.17, 49.29)
CIE-LCHlch(51.94, 49.97, 99.41°)
OKLaboklab(58.29% -0.0278 0.1083)
OKLCHoklch(58.29% 0.112 104.4)
XYZxyz(17.5405, 20.0897, 4.2498)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867E1F #1F2786
analogous
#864B1F #867E1F #5A861F
triadic
#867E1F #1F867E #7E1F86
tetradic
#867E1F #1F864B #1F2786 #861F5A
square
#867E1F #1F864B #1F2786 #861F5A
split-complementary
#867E1F #1F5A86 #4B1F86
monochromatic
#232108 #544F14 #867E1F #B8AD2A #D5CA4A

Accessibility & contrast

On white

4.19
#867E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#867E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867E1F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867E1F#FFFFFF#000000##000000
##867E1F1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790B
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#90756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867e1f;
/* rgb */ color: rgb(134, 126, 31);
/* oklch */ color: oklch(58.3% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#ada363',
    500: '#867e1f',
    950: '#000000',
  },
}
SCSS
$custom: #867e1f;
$custom-light: #ada363;
$custom-dark: #000000;
JSON
{
  "hex": "#867e1f",
  "rgb": {
    "r": 134,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 55.34,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.11177,
    "h": 104.4
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#867E1F
secondary
#4952B8
accent
#4FE542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #867E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#867E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva