#867F2D#867F2D

#867F2D is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.103 H 104.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#867F2D
RGBrgb(134, 127, 45)
HSLhsl(55, 50%, 35%)
HSVhsv(55, 66%, 53%)
CMYKcmyk(0%, 5.2%, 66.4%, 47.5%)
CIE-LABlab(52.33, -7.94, 43.95)
CIE-LCHlch(52.33, 44.66, 100.25°)
OKLaboklab(58.63% -0.0256 0.0995)
OKLCHoklch(58.63% 0.103 104.4)
XYZxyz(17.8952, 20.4372, 5.4843)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F2D #2D3486
analogous
#86532D #867F2D #60862D
triadic
#867F2D #2D867F #7F2D86
tetradic
#867F2D #2D8653 #2D3486 #862D60
square
#867F2D #2D8653 #2D3486 #862D60
split-complementary
#867F2D #2D6086 #532D86
monochromatic
#2A280E #58541E #867F2D #B4AA3C #CBC263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867F2D#FFFFFF#000000##000000
##867F2D1.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)
#8A7B23
Deuteranopia (green-blind)
#8C7F32
Tritanopia (blue-blind)
#90766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f2d;
/* rgb */ color: rgb(134, 127, 45);
/* oklch */ color: oklch(58.6% 0.103 104.4);
Tailwind
colors: {
  custom: {
    50: '#aca36a',
    500: '#867f2d',
    950: '#000000',
  },
}
SCSS
$custom: #867f2d;
$custom-light: #aca36a;
$custom-dark: #000000;
JSON
{
  "hex": "#867f2d",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 55.281,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.10277,
    "h": 104.4
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#867F2D
secondary
#5E64B1
accent
#59D94F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #867F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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