#868117#868117

#868117 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.119 H 106.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#868117
RGBrgb(134, 129, 23)
HSLhsl(57, 71%, 31%)
HSVhsv(57, 83%, 53%)
CMYKcmyk(0%, 3.7%, 82.8%, 47.5%)
CIE-LABlab(52.76, -10.13, 52.68)
CIE-LCHlch(52.76, 53.65, 100.89°)
OKLaboklab(58.93% -0.034 0.1139)
OKLCHoklch(58.93% 0.119 106.6)
XYZxyz(17.8372, 20.8314, 3.8917)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868117 #171C86
analogous
#864917 #868117 #538617
triadic
#868117 #178681 #811786
tetradic
#868117 #178649 #171C86 #861753
square
#868117 #178649 #171C86 #861753
split-complementary
#868117 #175386 #491786
monochromatic
#1E1C05 #524F0E #868117 #BAB320 #DDD63A

Accessibility & contrast

On white

4.06
#868117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#868117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868117
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868117#FFFFFF#000000##000000
##8681171.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#90786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #868117;
/* rgb */ color: rgb(134, 129, 23);
/* oklch */ color: oklch(58.9% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#ada55f',
    500: '#868117',
    950: '#000000',
  },
}
SCSS
$custom: #868117;
$custom-light: #ada55f;
$custom-dark: #000000;
JSON
{
  "hex": "#868117",
  "rgb": {
    "r": 134,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 57.297,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.11887,
    "h": 106.6
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#868117
secondary
#3F44BA
accent
#42ED3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868117

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

Preview Lab → · Contrast checker → · Palette generator →

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