#868C2E#868C2E

#868C2E is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.116 H 112.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#868C2E
RGBrgb(134, 140, 46)
HSLhsl(64, 51%, 36%)
HSVhsv(64, 67%, 55%)
CMYKcmyk(4.3%, 0%, 67.1%, 45.1%)
CIE-LABlab(56.11, -14.90, 47.45)
CIE-LCHlch(56.11, 49.74, 107.43°)
OKLaboklab(61.65% -0.0451 0.1071)
OKLCHoklch(61.65% 0.116 112.9)
XYZxyz(19.7033, 24.0222, 6.1830)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C2E #342E8C
analogous
#8C632E #868C2E #578C2E
triadic
#868C2E #2E868C #8C2E86
tetradic
#868C2E #2E8C63 #342E8C #8C2E57
square
#868C2E #2E8C63 #342E8C #8C2E57
split-complementary
#868C2E #2E578C #632E8C
monochromatic
#2E3010 #5A5E1F #868C2E #B2BA3D #C7CD67

Accessibility & contrast

On white

3.62
#868C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#868C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C2E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C2E#FFFFFF#000000##000000
##868C2E1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#968834
Tritanopia (blue-blind)
#8F8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c2e;
/* rgb */ color: rgb(134, 140, 46);
/* oklch */ color: oklch(61.7% 0.116 112.9);
Tailwind
colors: {
  custom: {
    50: '#acad6c',
    500: '#868c2e',
    950: '#000000',
  },
}
SCSS
$custom: #868c2e;
$custom-light: #acad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#868c2e",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 63.83,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.11621,
    "h": 112.9
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

primary
#868C2E
secondary
#6762B4
accent
#4EDA57
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868C2E

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

Preview Lab → · Contrast checker → · Palette generator →

#868C2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva