#867F2F#867F2F

#867F2F is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.101 H 104.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#867F2F
RGBrgb(134, 127, 47)
HSLhsl(55, 48%, 35%)
HSVhsv(55, 65%, 53%)
CMYKcmyk(0%, 5.2%, 64.9%, 47.5%)
CIE-LABlab(52.35, -7.81, 43.06)
CIE-LCHlch(52.35, 43.76, 100.28°)
OKLaboklab(58.65% -0.025 0.098)
OKLCHoklch(58.65% 0.101 104.3)
XYZxyz(17.9346, 20.4530, 5.6919)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F2F #2F3686
analogous
#86532F #867F2F #62862F
triadic
#867F2F #2F867F #7F2F86
tetradic
#867F2F #2F8653 #2F3686 #862F62
square
#867F2F #2F8653 #2F3686 #862F62
split-complementary
#867F2F #2F6286 #532F86
monochromatic
#2B290F #59541F #867F2F #B3AA3F #C9C166

Accessibility & contrast

On white

4.13
#867F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#867F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F2F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F2F#FFFFFF#000000##000000
##867F2F1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#8C7F34
Tritanopia (blue-blind)
#90776E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f2f;
/* rgb */ color: rgb(134, 127, 47);
/* oklch */ color: oklch(58.7% 0.101 104.3);
Tailwind
colors: {
  custom: {
    50: '#aca36c',
    500: '#867f2f',
    950: '#000000',
  },
}
SCSS
$custom: #867f2f;
$custom-light: #aca36c;
$custom-dark: #000000;
JSON
{
  "hex": "#867f2f",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 55.172,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.10111,
    "h": 104.3
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#867F2F
secondary
#6067B0
accent
#5BD850
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #867F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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