#867D17#867D17

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

Color values

HEX#867D17
RGBrgb(134, 125, 23)
HSLhsl(55, 71%, 31%)
HSVhsv(55, 83%, 53%)
CMYKcmyk(0%, 6.7%, 82.8%, 47.5%)
CIE-LABlab(51.61, -7.94, 51.67)
CIE-LCHlch(51.61, 52.28, 98.74°)
OKLaboklab(58.01% -0.0279 0.1117)
OKLCHoklch(58.01% 0.115 104)
XYZxyz(17.3206, 19.7982, 3.7195)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D17 #172086
analogous
#864517 #867D17 #578617
triadic
#867D17 #17867D #7D1786
tetradic
#867D17 #178645 #172086 #861757
square
#867D17 #178645 #172086 #861757
split-complementary
#867D17 #175786 #451786
monochromatic
#1E1C05 #524C0E #867D17 #BAAE20 #DDD03A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867D17#FFFFFF#000000##000000
##867D171.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)
#897800
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#91746A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d17;
/* rgb */ color: rgb(134, 125, 23);
/* oklch */ color: oklch(58.0% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#ada25f',
    500: '#867d17',
    950: '#000000',
  },
}
SCSS
$custom: #867d17;
$custom-light: #ada25f;
$custom-dark: #000000;
JSON
{
  "hex": "#867d17",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 55.135,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.11514,
    "h": 104
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#867D17
secondary
#3F49BA
accent
#49ED3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #867D17

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

Preview Lab → · Contrast checker → · Palette generator →

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