#867F2A#867F2A

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

Color values

HEX#867F2A
RGBrgb(134, 127, 42)
HSLhsl(55, 52%, 35%)
HSVhsv(55, 69%, 53%)
CMYKcmyk(0%, 5.2%, 68.7%, 47.5%)
CIE-LABlab(52.30, -8.13, 45.24)
CIE-LCHlch(52.30, 45.97, 100.19°)
OKLaboklab(58.6% -0.0265 0.1018)
OKLCHoklch(58.6% 0.105 104.6)
XYZxyz(17.8395, 20.4149, 5.1908)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F2A #2A3186
analogous
#86512A #867F2A #5F862A
triadic
#867F2A #2A867F #7F2A86
tetradic
#867F2A #2A8651 #2A3186 #862A5F
square
#867F2A #2A8651 #2A3186 #862A5F
split-complementary
#867F2A #2A5F86 #512A86
monochromatic
#29270D #57531B #867F2A #B5AB39 #CDC45E

Accessibility & contrast

On white

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

On black

5.08
#867F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F2A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F2A#FFFFFF#000000##000000
##867F2A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1E
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#90766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f2a;
/* rgb */ color: rgb(134, 127, 42);
/* oklch */ color: oklch(58.6% 0.105 104.6);
Tailwind
colors: {
  custom: {
    50: '#aca369',
    500: '#867f2a',
    950: '#000000',
  },
}
SCSS
$custom: #867f2a;
$custom-light: #aca369;
$custom-dark: #000000;
JSON
{
  "hex": "#867f2a",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 55.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.10516,
    "h": 104.6
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#867F2A
secondary
#5A60B2
accent
#57DC4C
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #867F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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