#868340#868340

#868340 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.089 H 106.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#868340
RGBrgb(134, 131, 64)
HSLhsl(57, 35%, 39%)
HSVhsv(57, 52%, 53%)
CMYKcmyk(0%, 2.2%, 52.2%, 47.5%)
CIE-LABlab(53.68, -8.63, 36.23)
CIE-LCHlch(53.68, 37.24, 103.39°)
OKLaboklab(59.77% -0.0253 0.0855)
OKLCHoklch(59.77% 0.089 106.5)
XYZxyz(18.8737, 21.6716, 8.0383)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868340 #404386
analogous
#866040 #868340 #668640
triadic
#868340 #408683 #834086
tetradic
#868340 #408660 #404386 #864066
square
#868340 #408660 #404386 #864066
split-complementary
#868340 #406686 #604086
monochromatic
#333218 #5D5B2C #868340 #AEAA55 #C2BF7F

Accessibility & contrast

On white

3.94
#868340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#868340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868340
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868340#FFFFFF#000000##000000
##8683401.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3A
Deuteranopia (green-blind)
#8E8243
Tritanopia (blue-blind)
#8F7C74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #868340;
/* rgb */ color: rgb(134, 131, 64);
/* oklch */ color: oklch(59.8% 0.089 106.5);
Tailwind
colors: {
  custom: {
    50: '#aba677',
    500: '#868340',
    950: '#000000',
  },
}
SCSS
$custom: #868340;
$custom-light: #aba677;
$custom-dark: #000000;
JSON
{
  "hex": "#868340",
  "rgb": {
    "r": 134,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 57.429,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.08918,
    "h": 106.5
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#868340
secondary
#7678AC
accent
#61CB5C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #868340

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

Preview Lab → · Contrast checker → · Palette generator →

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