#867F1D#867F1D

#867F1D is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.114 H 105.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#867F1D
RGBrgb(134, 127, 29)
HSLhsl(56, 64%, 32%)
HSVhsv(56, 78%, 53%)
CMYKcmyk(0%, 5.2%, 78.4%, 47.5%)
CIE-LABlab(52.22, -8.81, 50.26)
CIE-LCHlch(52.22, 51.03, 99.94°)
OKLaboklab(58.51% -0.0298 0.1099)
OKLCHoklch(58.51% 0.114 105.2)
XYZxyz(17.6434, 20.3365, 4.1581)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F1D #1D2486
analogous
#864B1D #867F1D #59861D
triadic
#867F1D #1D867F #7F1D86
tetradic
#867F1D #1D864B #1D2486 #861D59
square
#867F1D #1D864B #1D2486 #861D59
split-complementary
#867F1D #1D5986 #4B1D86
monochromatic
#212007 #544F12 #867F1D #B8AF28 #D7CD46

Accessibility & contrast

On white

4.14
#867F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#867F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F1D#FFFFFF#000000##000000
##867F1D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#90766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f1d;
/* rgb */ color: rgb(134, 127, 29);
/* oklch */ color: oklch(58.5% 0.114 105.2);
Tailwind
colors: {
  custom: {
    50: '#ada362',
    500: '#867f1d',
    950: '#000000',
  },
}
SCSS
$custom: #867f1d;
$custom-light: #ada362;
$custom-dark: #000000;
JSON
{
  "hex": "#867f1d",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 56,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.11388,
    "h": 105.2
  },
  "luminance": 0.20336
}

Semantic roles & 50–950 ramp

primary
#867F1D
secondary
#464EB9
accent
#4CE740
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #867F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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