#868C2D#868C2D

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

Color values

HEX#868C2D
RGBrgb(134, 140, 45)
HSLhsl(64, 51%, 36%)
HSVhsv(64, 68%, 55%)
CMYKcmyk(4.3%, 0%, 67.9%, 45.1%)
CIE-LABlab(56.10, -14.97, 47.87)
CIE-LCHlch(56.10, 50.15, 107.36°)
OKLaboklab(61.64% -0.0454 0.1078)
OKLCHoklch(61.64% 0.117 112.8)
XYZxyz(19.6838, 24.0144, 6.0804)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C2D #332D8C
analogous
#8C632D #868C2D #578C2D
triadic
#868C2D #2D868C #8C2D86
tetradic
#868C2D #2D8C63 #332D8C #8C2D57
square
#868C2D #2D8C63 #332D8C #8C2D57
split-complementary
#868C2D #2D578C #632D8C
monochromatic
#2D2F0F #5A5E1E #868C2D #B2BA3C #C7CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868C2D#FFFFFF#000000##000000
##868C2D1.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)
#96851F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#8F8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c2d;
/* rgb */ color: rgb(134, 140, 45);
/* oklch */ color: oklch(61.6% 0.117 112.8);
Tailwind
colors: {
  custom: {
    50: '#acad6c',
    500: '#868c2d',
    950: '#000000',
  },
}
SCSS
$custom: #868c2d;
$custom-light: #acad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#868c2d",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 63.789,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.11697,
    "h": 112.8
  },
  "luminance": 0.24014
}

Semantic roles & 50–950 ramp

primary
#868C2D
secondary
#6660B4
accent
#4DDB56
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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