#868317#868317

#868317 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.121 H 107.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#868317
RGBrgb(134, 131, 23)
HSLhsl(58, 71%, 31%)
HSVhsv(58, 83%, 53%)
CMYKcmyk(0%, 2.2%, 82.8%, 47.5%)
CIE-LABlab(53.34, -11.22, 53.18)
CIE-LCHlch(53.34, 54.35, 101.91°)
OKLaboklab(59.4% -0.0371 0.115)
OKLCHoklch(59.4% 0.121 107.9)
XYZxyz(18.1032, 21.3634, 3.9804)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868317 #171A86
analogous
#864B17 #868317 #518617
triadic
#868317 #178683 #831786
tetradic
#868317 #17864B #171A86 #861751
square
#868317 #17864B #171A86 #861751
split-complementary
#868317 #175186 #4B1786
monochromatic
#1E1D05 #52500E #868317 #BAB620 #DDD93A

Accessibility & contrast

On white

3.98
#868317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#868317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868317
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868317#FFFFFF#000000##000000
##8683171.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#907A70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868317;
/* rgb */ color: rgb(134, 131, 23);
/* oklch */ color: oklch(59.4% 0.121 107.9);
Tailwind
colors: {
  custom: {
    50: '#ada660',
    500: '#868317',
    950: '#000000',
  },
}
SCSS
$custom: #868317;
$custom-light: #ada660;
$custom-dark: #000000;
JSON
{
  "hex": "#868317",
  "rgb": {
    "r": 134,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 58.378,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.1208,
    "h": 107.9
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#868317
secondary
#3F42BA
accent
#3FED3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868317

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

Preview Lab → · Contrast checker → · Palette generator →

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