#867D1A#867D1A

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

Color values

HEX#867D1A
RGBrgb(134, 125, 26)
HSLhsl(55, 68%, 31%)
HSVhsv(55, 81%, 53%)
CMYKcmyk(0%, 6.7%, 80.6%, 47.5%)
CIE-LABlab(51.62, -7.83, 50.74)
CIE-LCHlch(51.62, 51.34, 98.77°)
OKLaboklab(58.03% -0.0273 0.1103)
OKLCHoklch(58.03% 0.114 103.9)
XYZxyz(17.3524, 19.8109, 3.8869)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D1A #1A2386
analogous
#86471A #867D1A #59861A
triadic
#867D1A #1A867D #7D1A86
tetradic
#867D1A #1A8647 #1A2386 #861A59
square
#867D1A #1A8647 #1A2386 #861A59
split-complementary
#867D1A #1A5986 #471A86
monochromatic
#1F1D06 #534D10 #867D1A #B9AD24 #DACD40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867D1A#FFFFFF#000000##000000
##867D1A1.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)
#897900
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d1a;
/* rgb */ color: rgb(134, 125, 26);
/* oklch */ color: oklch(58.0% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#ada260',
    500: '#867d1a',
    950: '#000000',
  },
}
SCSS
$custom: #867d1a;
$custom-light: #ada260;
$custom-dark: #000000;
JSON
{
  "hex": "#867d1a",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 55,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.11365,
    "h": 103.9
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#867D1A
secondary
#424CB9
accent
#4CEA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #867D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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