#867F2B#867F2B

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

Color values

HEX#867F2B
RGBrgb(134, 127, 43)
HSLhsl(55, 51%, 35%)
HSVhsv(55, 68%, 53%)
CMYKcmyk(0%, 5.2%, 67.9%, 47.5%)
CIE-LABlab(52.31, -8.07, 44.82)
CIE-LCHlch(52.31, 45.54, 100.21°)
OKLaboklab(58.61% -0.0262 0.101)
OKLCHoklch(58.61% 0.104 104.5)
XYZxyz(17.8576, 20.4222, 5.2862)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F2B #2B3286
analogous
#86522B #867F2B #5F862B
triadic
#867F2B #2B867F #7F2B86
tetradic
#867F2B #2B8652 #2B3286 #862B5F
square
#867F2B #2B8652 #2B3286 #862B5F
split-complementary
#867F2B #2B5F86 #522B86
monochromatic
#29270D #58531C #867F2B #B4AB3A #CCC460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867F2B#FFFFFF#000000##000000
##867F2B1.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)
#8A7B20
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#90766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f2b;
/* rgb */ color: rgb(134, 127, 43);
/* oklch */ color: oklch(58.6% 0.104 104.5);
Tailwind
colors: {
  custom: {
    50: '#aca369',
    500: '#867f2b',
    950: '#000000',
  },
}
SCSS
$custom: #867f2b;
$custom-light: #aca369;
$custom-dark: #000000;
JSON
{
  "hex": "#867f2b",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 55.385,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.10438,
    "h": 104.5
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#867F2B
secondary
#5B62B2
accent
#58DB4D
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #867F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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