#868817#868817

#868817 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.126 H 110.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#868817
RGBrgb(134, 136, 23)
HSLhsl(61, 71%, 31%)
HSVhsv(61, 83%, 53%)
CMYKcmyk(1.5%, 0%, 83.1%, 46.7%)
CIE-LABlab(54.80, -13.91, 54.45)
CIE-LCHlch(54.80, 56.19, 104.33°)
OKLaboklab(60.56% -0.0445 0.1177)
OKLCHoklch(60.56% 0.126 110.7)
XYZxyz(18.7910, 22.7391, 4.2097)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868817 #191788
analogous
#885117 #868817 #4D8817
triadic
#868817 #178688 #881786
tetradic
#868817 #178851 #191788 #88174D
square
#868817 #178851 #191788 #88174D
split-complementary
#868817 #174D88 #511788
monochromatic
#1F1F05 #52540E #868817 #BABC20 #DBDE3B

Accessibility & contrast

On white

3.79
#868817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#868817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868817
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868817#FFFFFF#000000##000000
##8688171.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#907F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #868817;
/* rgb */ color: rgb(134, 136, 23);
/* oklch */ color: oklch(60.6% 0.126 110.7);
Tailwind
colors: {
  custom: {
    50: '#adaa60',
    500: '#868817',
    950: '#000000',
  },
}
SCSS
$custom: #868817;
$custom-light: #adaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#868817",
  "rgb": {
    "r": 134,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 61.062,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.12583,
    "h": 110.7
  },
  "luminance": 0.22739
}

Semantic roles & 50–950 ramp

primary
#868817
secondary
#413FBC
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868817

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

Preview Lab → · Contrast checker → · Palette generator →

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