#867F1B#867F1B

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

Color values

HEX#867F1B
RGBrgb(134, 127, 27)
HSLhsl(56, 66%, 32%)
HSVhsv(56, 80%, 53%)
CMYKcmyk(0%, 5.2%, 79.9%, 47.5%)
CIE-LABlab(52.20, -8.89, 50.93)
CIE-LCHlch(52.20, 51.70, 99.90°)
OKLaboklab(58.49% -0.0302 0.1109)
OKLCHoklch(58.49% 0.115 105.2)
XYZxyz(17.6195, 20.3269, 4.0321)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F1B #1B2286
analogous
#864A1B #867F1B #58861B
triadic
#867F1B #1B867F #7F1B86
tetradic
#867F1B #1B864A #1B2286 #861B58
square
#867F1B #1B864A #1B2286 #861B58
split-complementary
#867F1B #1B5886 #4A1B86
monochromatic
#201E06 #534F11 #867F1B #B9AF25 #D9CF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867F1B#FFFFFF#000000##000000
##867F1B1.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)
#8B7A01
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#91766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867f1b;
/* rgb */ color: rgb(134, 127, 27);
/* oklch */ color: oklch(58.5% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#ada361',
    500: '#867f1b',
    950: '#000000',
  },
}
SCSS
$custom: #867f1b;
$custom-light: #ada361;
$custom-dark: #000000;
JSON
{
  "hex": "#867f1b",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 56.075,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.11497,
    "h": 105.2
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#867F1B
secondary
#444BB9
accent
#4AE93E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #867F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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