#867F1A#867F1A

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

Color values

HEX#867F1A
RGBrgb(134, 127, 26)
HSLhsl(56, 68%, 31%)
HSVhsv(56, 81%, 53%)
CMYKcmyk(0%, 5.2%, 80.6%, 47.5%)
CIE-LABlab(52.20, -8.93, 51.25)
CIE-LCHlch(52.20, 52.03, 99.89°)
OKLaboklab(58.49% -0.0304 0.1114)
OKLCHoklch(58.49% 0.116 105.3)
XYZxyz(17.6081, 20.3224, 3.9722)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F1A #1A2186
analogous
#86491A #867F1A #57861A
triadic
#867F1A #1A867F #7F1A86
tetradic
#867F1A #1A8649 #1A2186 #861A57
square
#867F1A #1A8649 #1A2186 #861A57
split-complementary
#867F1A #1A5786 #491A86
monochromatic
#1F1E06 #534E10 #867F1A #B9B024 #DAD040

Accessibility & contrast

On white

4.15
#867F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#867F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F1A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F1A#FFFFFF#000000##000000
##867F1A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#91766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867f1a;
/* rgb */ color: rgb(134, 127, 26);
/* oklch */ color: oklch(58.5% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#ada360',
    500: '#867f1a',
    950: '#000000',
  },
}
SCSS
$custom: #867f1a;
$custom-light: #ada360;
$custom-dark: #000000;
JSON
{
  "hex": "#867f1a",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 56.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.1155,
    "h": 105.3
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#867F1A
secondary
#424AB9
accent
#49EA3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #867F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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