#867C1B#867C1B

#867C1B is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.112 H 103.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#867C1B
RGBrgb(134, 124, 27)
HSLhsl(54, 66%, 32%)
HSVhsv(54, 80%, 53%)
CMYKcmyk(0%, 7.5%, 79.9%, 47.5%)
CIE-LABlab(51.34, -7.24, 50.15)
CIE-LCHlch(51.34, 50.67, 98.21°)
OKLaboklab(57.8% -0.0256 0.1093)
OKLCHoklch(57.8% 0.112 103.2)
XYZxyz(17.2378, 19.5635, 3.9048)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867C1B #1B2586
analogous
#86471B #867C1B #5B861B
triadic
#867C1B #1B867C #7C1B86
tetradic
#867C1B #1B8647 #1B2586 #861B5B
square
#867C1B #1B8647 #1B2586 #861B5B
split-complementary
#867C1B #1B5B86 #471B86
monochromatic
#201E06 #534D11 #867C1B #B9AB25 #D9CB42

Accessibility & contrast

On white

4.27
#867C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#867C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867C1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867C1B#FFFFFF#000000##000000
##867C1B1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#91736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867c1b;
/* rgb */ color: rgb(134, 124, 27);
/* oklch */ color: oklch(57.8% 0.112 103.2);
Tailwind
colors: {
  custom: {
    50: '#ada160',
    500: '#867c1b',
    950: '#000000',
  },
}
SCSS
$custom: #867c1b;
$custom-light: #ada160;
$custom-dark: #000000;
JSON
{
  "hex": "#867c1b",
  "rgb": {
    "r": 134,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 54.393,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.11221,
    "h": 103.2
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#867C1B
secondary
#444FB9
accent
#4EE93E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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