#867F1F#867F1F

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

Color values

HEX#867F1F
RGBrgb(134, 127, 31)
HSLhsl(56, 62%, 32%)
HSVhsv(56, 77%, 53%)
CMYKcmyk(0%, 5.2%, 76.9%, 47.5%)
CIE-LABlab(52.23, -8.72, 49.56)
CIE-LCHlch(52.23, 50.32, 99.98°)
OKLaboklab(58.52% -0.0294 0.1088)
OKLCHoklch(58.52% 0.113 105.1)
XYZxyz(17.6690, 20.3467, 4.2927)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F1F #1F2686
analogous
#864B1F #867F1F #5A861F
triadic
#867F1F #1F867F #7F1F86
tetradic
#867F1F #1F864B #1F2686 #861F5A
square
#867F1F #1F864B #1F2686 #861F5A
split-complementary
#867F1F #1F5A86 #4B1F86
monochromatic
#232108 #545014 #867F1F #B8AE2A #D5CC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867F1F#FFFFFF#000000##000000
##867F1F1.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)
#8B7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#90766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f1f;
/* rgb */ color: rgb(134, 127, 31);
/* oklch */ color: oklch(58.5% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#ada363',
    500: '#867f1f',
    950: '#000000',
  },
}
SCSS
$custom: #867f1f;
$custom-light: #ada363;
$custom-dark: #000000;
JSON
{
  "hex": "#867f1f",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 55.922,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.11271,
    "h": 105.1
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#867F1F
secondary
#4951B8
accent
#4DE542
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #867F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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