#867D2E#867D2E

#867D2E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.100 H 102.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#867D2E
RGBrgb(134, 125, 46)
HSLhsl(54, 49%, 35%)
HSVhsv(54, 66%, 53%)
CMYKcmyk(0%, 6.7%, 65.7%, 47.5%)
CIE-LABlab(51.76, -6.77, 42.89)
CIE-LCHlch(51.76, 43.42, 98.97°)
OKLaboklab(58.18% -0.0222 0.0975)
OKLCHoklch(58.18% 0.1 102.8)
XYZxyz(17.6590, 19.9335, 5.5016)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D2E #2E3786
analogous
#86512E #867D2E #63862E
triadic
#867D2E #2E867D #7D2E86
tetradic
#867D2E #2E8651 #2E3786 #862E63
square
#867D2E #2E8651 #2E3786 #862E63
split-complementary
#867D2E #2E6386 #512E86
monochromatic
#2B280F #58521E #867D2E #B4A83E #CAC064

Accessibility & contrast

On white

4.21
#867D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#867D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867D2E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867D2E#FFFFFF#000000##000000
##867D2E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#90746C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d2e;
/* rgb */ color: rgb(134, 125, 46);
/* oklch */ color: oklch(58.2% 0.100 102.8);
Tailwind
colors: {
  custom: {
    50: '#aca26b',
    500: '#867d2e',
    950: '#000000',
  },
}
SCSS
$custom: #867d2e;
$custom-light: #aca26b;
$custom-dark: #000000;
JSON
{
  "hex": "#867d2e",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 53.864,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.09995,
    "h": 102.8
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#867D2E
secondary
#5F67B1
accent
#5DD84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #867D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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