#867D1F#867D1F

#867D1F is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.111 H 103.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#867D1F
RGBrgb(134, 125, 31)
HSLhsl(55, 62%, 32%)
HSVhsv(55, 77%, 53%)
CMYKcmyk(0%, 6.7%, 76.9%, 47.5%)
CIE-LABlab(51.65, -7.62, 49.02)
CIE-LCHlch(51.65, 49.61, 98.83°)
OKLaboklab(58.06% -0.0263 0.1077)
OKLCHoklch(58.06% 0.111 103.7)
XYZxyz(17.4132, 19.8352, 4.2074)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D1F #1F2886
analogous
#86491F #867D1F #5C861F
triadic
#867D1F #1F867D #7D1F86
tetradic
#867D1F #1F8649 #1F2886 #861F5C
square
#867D1F #1F8649 #1F2886 #861F5C
split-complementary
#867D1F #1F5C86 #491F86
monochromatic
#232008 #544F14 #867D1F #B8AB2A #D5C94A

Accessibility & contrast

On white

4.23
#867D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#867D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867D1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867D1F#FFFFFF#000000##000000
##867D1F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d1f;
/* rgb */ color: rgb(134, 125, 31);
/* oklch */ color: oklch(58.1% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#ada262',
    500: '#867d1f',
    950: '#000000',
  },
}
SCSS
$custom: #867d1f;
$custom-light: #ada262;
$custom-dark: #000000;
JSON
{
  "hex": "#867d1f",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 54.757,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.11083,
    "h": 103.7
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#867D1F
secondary
#4953B8
accent
#51E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #867D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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