#867B1A#867B1A

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

Color values

HEX#867B1A
RGBrgb(134, 123, 26)
HSLhsl(54, 68%, 31%)
HSVhsv(54, 81%, 53%)
CMYKcmyk(0%, 8.2%, 80.6%, 47.5%)
CIE-LABlab(51.05, -6.72, 50.22)
CIE-LCHlch(51.05, 50.67, 97.63°)
OKLaboklab(57.57% -0.0242 0.1092)
OKLCHoklch(57.57% 0.112 102.5)
XYZxyz(17.1017, 19.3096, 3.8034)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867B1A #1A2586
analogous
#86451A #867B1A #5B861A
triadic
#867B1A #1A867B #7B1A86
tetradic
#867B1A #1A8645 #1A2586 #861A5B
square
#867B1A #1A8645 #1A2586 #861A5B
split-complementary
#867B1A #1A5B86 #451A86
monochromatic
#1F1D06 #534C10 #867B1A #B9AA24 #DACA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867B1A#FFFFFF#000000##000000
##867B1A1.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)
#877701
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#917269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867b1a;
/* rgb */ color: rgb(134, 123, 26);
/* oklch */ color: oklch(57.6% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#ada060',
    500: '#867b1a',
    950: '#000000',
  },
}
SCSS
$custom: #867b1a;
$custom-light: #ada060;
$custom-dark: #000000;
JSON
{
  "hex": "#867b1a",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 53.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57571,
    "c": 0.11187,
    "h": 102.5
  },
  "luminance": 0.19309
}

Semantic roles & 50–950 ramp

primary
#867B1A
secondary
#424FB9
accent
#4FEA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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