#868917#868917

#868917 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.8% C 0.127 H 111.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#868917
RGBrgb(134, 137, 23)
HSLhsl(62, 71%, 31%)
HSVhsv(62, 83%, 54%)
CMYKcmyk(2.2%, 0%, 83.2%, 46.3%)
CIE-LABlab(55.09, -14.44, 54.70)
CIE-LCHlch(55.09, 56.57, 104.79°)
OKLaboklab(60.8% -0.046 0.1183)
OKLCHoklch(60.8% 0.127 111.2)
XYZxyz(18.9325, 23.0220, 4.2568)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868917 #1A1789
analogous
#895317 #868917 #4D8917
triadic
#868917 #178689 #891786
tetradic
#868917 #178953 #1A1789 #89174D
square
#868917 #178953 #1A1789 #89174D
split-complementary
#868917 #174D89 #531789
monochromatic
#1F2005 #53550E #868917 #B9BD20 #DADE3C

Accessibility & contrast

On white

3.75
#868917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#868917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868917
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868917#FFFFFF#000000##000000
##8689171.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#908075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #868917;
/* rgb */ color: rgb(134, 137, 23);
/* oklch */ color: oklch(60.8% 0.127 111.2);
Tailwind
colors: {
  custom: {
    50: '#adab61',
    500: '#868917',
    950: '#000000',
  },
}
SCSS
$custom: #868917;
$custom-light: #adab61;
$custom-dark: #000000;
JSON
{
  "hex": "#868917",
  "rgb": {
    "r": 134,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 61.579,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.12687,
    "h": 111.2
  },
  "luminance": 0.23022
}

Semantic roles & 50–950 ramp

primary
#868917
secondary
#423FBD
accent
#3AEE3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868917

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

Preview Lab → · Contrast checker → · Palette generator →

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