#867E1B#867E1B

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

Color values

HEX#867E1B
RGBrgb(134, 126, 27)
HSLhsl(56, 66%, 32%)
HSVhsv(56, 80%, 53%)
CMYKcmyk(0%, 6%, 79.9%, 47.5%)
CIE-LABlab(51.92, -8.34, 50.67)
CIE-LCHlch(51.92, 51.35, 99.35°)
OKLaboklab(58.26% -0.0287 0.1104)
OKLCHoklch(58.26% 0.114 104.6)
XYZxyz(17.4910, 20.0699, 3.9892)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867E1B #1B2386
analogous
#86491B #867E1B #59861B
triadic
#867E1B #1B867E #7E1B86
tetradic
#867E1B #1B8649 #1B2386 #861B59
square
#867E1B #1B8649 #1B2386 #861B59
split-complementary
#867E1B #1B5986 #491B86
monochromatic
#201E06 #534E11 #867E1B #B9AE25 #D9CE42

Accessibility & contrast

On white

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

On black

5.01
#867E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867E1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867E1B#FFFFFF#000000##000000
##867E1B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867e1b;
/* rgb */ color: rgb(134, 126, 27);
/* oklch */ color: oklch(58.3% 0.114 104.6);
Tailwind
colors: {
  custom: {
    50: '#ada361',
    500: '#867e1b',
    950: '#000000',
  },
}
SCSS
$custom: #867e1b;
$custom-light: #ada361;
$custom-dark: #000000;
JSON
{
  "hex": "#867e1b",
  "rgb": {
    "r": 134,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 55.514,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.11404,
    "h": 104.6
  },
  "luminance": 0.20069
}

Semantic roles & 50–950 ramp

primary
#867E1B
secondary
#444CB9
accent
#4BE93E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #867E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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