#867B1B#867B1B

#867B1B is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.111 H 102.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#867B1B
RGBrgb(134, 123, 27)
HSLhsl(54, 66%, 32%)
HSVhsv(54, 80%, 53%)
CMYKcmyk(0%, 8.2%, 79.9%, 47.5%)
CIE-LABlab(51.05, -6.68, 49.89)
CIE-LCHlch(51.05, 50.33, 97.63°)
OKLaboklab(57.58% -0.024 0.1087)
OKLCHoklch(57.58% 0.111 102.5)
XYZxyz(17.1131, 19.3141, 3.8633)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867B1B #1B2686
analogous
#86461B #867B1B #5C861B
triadic
#867B1B #1B867B #7B1B86
tetradic
#867B1B #1B8646 #1B2686 #861B5C
square
#867B1B #1B8646 #1B2686 #861B5C
split-complementary
#867B1B #1B5C86 #461B86
monochromatic
#201D06 #534C11 #867B1B #B9AA25 #D9CA42

Accessibility & contrast

On white

4.32
#867B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#867B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867B1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867B1B#FFFFFF#000000##000000
##867B1B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#917269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867b1b;
/* rgb */ color: rgb(134, 123, 27);
/* oklch */ color: oklch(57.6% 0.111 102.5);
Tailwind
colors: {
  custom: {
    50: '#ada060',
    500: '#867b1b',
    950: '#000000',
  },
}
SCSS
$custom: #867b1b;
$custom-light: #ada060;
$custom-dark: #000000;
JSON
{
  "hex": "#867b1b",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 53.832,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.11132,
    "h": 102.5
  },
  "luminance": 0.19313
}

Semantic roles & 50–950 ramp

primary
#867B1B
secondary
#4450B9
accent
#50E93E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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