#867F17#867F17

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

Color values

HEX#867F17
RGBrgb(134, 127, 23)
HSLhsl(56, 71%, 31%)
HSVhsv(56, 83%, 53%)
CMYKcmyk(0%, 5.2%, 82.8%, 47.5%)
CIE-LABlab(52.19, -9.04, 52.17)
CIE-LCHlch(52.19, 52.95, 99.83°)
OKLaboklab(58.47% -0.031 0.1128)
OKLCHoklch(58.47% 0.117 105.4)
XYZxyz(17.5763, 20.3096, 3.8048)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F17 #171E86
analogous
#864717 #867F17 #558617
triadic
#867F17 #17867F #7F1786
tetradic
#867F17 #178647 #171E86 #861755
square
#867F17 #178647 #171E86 #861755
split-complementary
#867F17 #175586 #471786
monochromatic
#1E1C05 #524D0E #867F17 #BAB120 #DDD33A

Accessibility & contrast

On white

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

On black

5.06
#867F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F17
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F17#FFFFFF#000000##000000
##867F171.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#91766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867f17;
/* rgb */ color: rgb(134, 127, 23);
/* oklch */ color: oklch(58.5% 0.117 105.4);
Tailwind
colors: {
  custom: {
    50: '#ada35f',
    500: '#867f17',
    950: '#000000',
  },
}
SCSS
$custom: #867f17;
$custom-light: #ada35f;
$custom-dark: #000000;
JSON
{
  "hex": "#867f17",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 56.216,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.11698,
    "h": 105.4
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#867F17
secondary
#3F47BA
accent
#46ED3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #867F17

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

Preview Lab → · Contrast checker → · Palette generator →

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