#868C2F#868C2F

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

Color values

HEX#868C2F
RGBrgb(134, 140, 47)
HSLhsl(64, 50%, 37%)
HSVhsv(64, 66%, 55%)
CMYKcmyk(4.3%, 0%, 66.4%, 45.1%)
CIE-LABlab(56.12, -14.84, 47.03)
CIE-LCHlch(56.12, 49.32, 107.51°)
OKLaboklab(61.66% -0.0448 0.1064)
OKLCHoklch(61.66% 0.115 112.9)
XYZxyz(19.7232, 24.0301, 6.2881)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C2F #352F8C
analogous
#8C642F #868C2F #588C2F
triadic
#868C2F #2F868C #8C2F86
tetradic
#868C2F #2F8C64 #352F8C #8C2F58
square
#868C2F #2F8C64 #352F8C #8C2F58
split-complementary
#868C2F #2F588C #642F8C
monochromatic
#2E3010 #5A5E20 #868C2F #B2BA3E #C6CD69

Accessibility & contrast

On white

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

On black

5.81
#868C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C2F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C2F#FFFFFF#000000##000000
##868C2F1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #868c2f;
/* rgb */ color: rgb(134, 140, 47);
/* oklch */ color: oklch(61.7% 0.115 112.9);
Tailwind
colors: {
  custom: {
    50: '#acad6d',
    500: '#868c2f',
    950: '#000000',
  },
}
SCSS
$custom: #868c2f;
$custom-light: #acad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#868c2f",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 63.871,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.11543,
    "h": 112.9
  },
  "luminance": 0.2403
}

Semantic roles & 50–950 ramp

primary
#868C2F
secondary
#6863B4
accent
#4FD957
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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