#867D1B#867D1B

#867D1B is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.113 H 103.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#867D1B
RGBrgb(134, 125, 27)
HSLhsl(55, 66%, 32%)
HSVhsv(55, 80%, 53%)
CMYKcmyk(0%, 6.7%, 79.9%, 47.5%)
CIE-LABlab(51.63, -7.79, 50.41)
CIE-LCHlch(51.63, 51.01, 98.79°)
OKLaboklab(58.03% -0.0271 0.1098)
OKLCHoklch(58.03% 0.113 103.9)
XYZxyz(17.3637, 19.8154, 3.9468)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D1B #1B2486
analogous
#86481B #867D1B #5A861B
triadic
#867D1B #1B867D #7D1B86
tetradic
#867D1B #1B8648 #1B2486 #861B5A
square
#867D1B #1B8648 #1B2486 #861B5A
split-complementary
#867D1B #1B5A86 #481B86
monochromatic
#201E06 #534D11 #867D1B #B9AD25 #D9CC42

Accessibility & contrast

On white

4.23
#867D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#867D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867D1B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867D1B#FFFFFF#000000##000000
##867D1B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d1b;
/* rgb */ color: rgb(134, 125, 27);
/* oklch */ color: oklch(58.0% 0.113 103.9);
Tailwind
colors: {
  custom: {
    50: '#ada261',
    500: '#867d1b',
    950: '#000000',
  },
}
SCSS
$custom: #867d1b;
$custom-light: #ada261;
$custom-dark: #000000;
JSON
{
  "hex": "#867d1b",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 54.953,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.11312,
    "h": 103.9
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#867D1B
secondary
#444DB9
accent
#4DE93E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #867D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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