#868017#868017

#868017 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.118 H 106.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#868017
RGBrgb(134, 128, 23)
HSLhsl(57, 71%, 31%)
HSVhsv(57, 83%, 53%)
CMYKcmyk(0%, 4.5%, 82.8%, 47.5%)
CIE-LABlab(52.47, -9.59, 52.43)
CIE-LCHlch(52.47, 53.30, 100.37°)
OKLaboklab(58.7% -0.0325 0.1133)
OKLCHoklch(58.7% 0.118 106)
XYZxyz(17.7061, 20.5692, 3.8480)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868017 #171D86
analogous
#864817 #868017 #548617
triadic
#868017 #178680 #801786
tetradic
#868017 #178648 #171D86 #861754
square
#868017 #178648 #171D86 #861754
split-complementary
#868017 #175486 #481786
monochromatic
#1E1C05 #524E0E #868017 #BAB220 #DDD43A

Accessibility & contrast

On white

4.11
#868017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#868017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868017
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868017#FFFFFF#000000##000000
##8680171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#91776D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #868017;
/* rgb */ color: rgb(134, 128, 23);
/* oklch */ color: oklch(58.7% 0.118 106.0);
Tailwind
colors: {
  custom: {
    50: '#ada45f',
    500: '#868017',
    950: '#000000',
  },
}
SCSS
$custom: #868017;
$custom-light: #ada45f;
$custom-dark: #000000;
JSON
{
  "hex": "#868017",
  "rgb": {
    "r": 134,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 56.757,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.11791,
    "h": 106
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#868017
secondary
#3F45BA
accent
#44ED3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868017

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

Preview Lab → · Contrast checker → · Palette generator →

#868017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva