#867B1C#867B1C

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

Color values

HEX#867B1C
RGBrgb(134, 123, 28)
HSLhsl(54, 65%, 32%)
HSVhsv(54, 79%, 53%)
CMYKcmyk(0%, 8.2%, 79.1%, 47.5%)
CIE-LABlab(51.06, -6.64, 49.55)
CIE-LCHlch(51.06, 49.99, 97.64°)
OKLaboklab(57.58% -0.0238 0.1082)
OKLCHoklch(57.58% 0.111 102.4)
XYZxyz(17.1249, 19.3189, 3.9253)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867B1C #1C2786
analogous
#86461C #867B1C #5C861C
triadic
#867B1C #1C867B #7B1C86
tetradic
#867B1C #1C8646 #1C2786 #861C5C
square
#867B1C #1C8646 #1C2786 #861C5C
split-complementary
#867B1C #1C5C86 #461C86
monochromatic
#211E07 #534D11 #867B1C #B9A927 #D8C944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867B1C#FFFFFF#000000##000000
##867B1C1.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)
#877706
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#917269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867b1c;
/* rgb */ color: rgb(134, 123, 28);
/* oklch */ color: oklch(57.6% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#ada061',
    500: '#867b1c',
    950: '#000000',
  },
}
SCSS
$custom: #867b1c;
$custom-light: #ada061;
$custom-dark: #000000;
JSON
{
  "hex": "#867b1c",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 53.774,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.11077,
    "h": 102.4
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#867B1C
secondary
#4551B9
accent
#51E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #867B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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