#867F1C#867F1C

#867F1C is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.114 H 105.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#867F1C
RGBrgb(134, 127, 28)
HSLhsl(56, 65%, 32%)
HSVhsv(56, 79%, 53%)
CMYKcmyk(0%, 5.2%, 79.1%, 47.5%)
CIE-LABlab(52.21, -8.85, 50.60)
CIE-LCHlch(52.21, 51.37, 99.92°)
OKLaboklab(58.5% -0.03 0.1104)
OKLCHoklch(58.5% 0.114 105.2)
XYZxyz(17.6313, 20.3316, 4.0941)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F1C #1C2386
analogous
#864A1C #867F1C #58861C
triadic
#867F1C #1C867F #7F1C86
tetradic
#867F1C #1C864A #1C2386 #861C58
square
#867F1C #1C864A #1C2386 #861C58
split-complementary
#867F1C #1C5886 #4A1C86
monochromatic
#211F07 #534F11 #867F1C #B9AF27 #D8CE44

Accessibility & contrast

On white

4.15
#867F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#867F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F1C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F1C#FFFFFF#000000##000000
##867F1C1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#90766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867f1c;
/* rgb */ color: rgb(134, 127, 28);
/* oklch */ color: oklch(58.5% 0.114 105.2);
Tailwind
colors: {
  custom: {
    50: '#ada361',
    500: '#867f1c',
    950: '#000000',
  },
}
SCSS
$custom: #867f1c;
$custom-light: #ada361;
$custom-dark: #000000;
JSON
{
  "hex": "#867f1c",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 56.038,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.11444,
    "h": 105.2
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#867F1C
secondary
#454CB9
accent
#4BE83F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #867F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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