#867C17#867C17

#867C17 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.114 H 103.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#867C17
RGBrgb(134, 124, 23)
HSLhsl(55, 71%, 31%)
HSVhsv(55, 83%, 53%)
CMYKcmyk(0%, 7.5%, 82.8%, 47.5%)
CIE-LABlab(51.32, -7.39, 51.42)
CIE-LCHlch(51.32, 51.95, 98.18°)
OKLaboklab(57.78% -0.0264 0.1112)
OKLCHoklch(57.78% 0.114 103.3)
XYZxyz(17.1946, 19.5463, 3.6775)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867C17 #172186
analogous
#864517 #867C17 #588617
triadic
#867C17 #17867C #7C1786
tetradic
#867C17 #178645 #172186 #861758
square
#867C17 #178645 #172186 #861758
split-complementary
#867C17 #175886 #451786
monochromatic
#1E1B05 #524C0E #867C17 #BAAC20 #DDCF3A

Accessibility & contrast

On white

4.28
#867C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#867C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867C17
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867C17#FFFFFF#000000##000000
##867C171.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#91736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867c17;
/* rgb */ color: rgb(134, 124, 23);
/* oklch */ color: oklch(57.8% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#ada15f',
    500: '#867c17',
    950: '#000000',
  },
}
SCSS
$custom: #867c17;
$custom-light: #ada15f;
$custom-dark: #000000;
JSON
{
  "hex": "#867c17",
  "rgb": {
    "r": 134,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 54.595,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.11425,
    "h": 103.3
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#867C17
secondary
#3F4ABA
accent
#4AED3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867C17

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

Preview Lab → · Contrast checker → · Palette generator →

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