#868B2D#868B2D

#868B2D is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.4% C 0.116 H 112.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#868B2D
RGBrgb(134, 139, 45)
HSLhsl(63, 51%, 36%)
HSVhsv(63, 68%, 55%)
CMYKcmyk(3.6%, 0%, 67.6%, 45.5%)
CIE-LABlab(55.81, -14.44, 47.57)
CIE-LCHlch(55.81, 49.71, 106.88°)
OKLaboklab(61.41% -0.0439 0.1072)
OKLCHoklch(61.41% 0.116 112.3)
XYZxyz(19.5384, 23.7235, 6.0320)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B2D #322D8B
analogous
#8B612D #868B2D #578B2D
triadic
#868B2D #2D868B #8B2D86
tetradic
#868B2D #2D8B61 #322D8B #8B2D57
square
#868B2D #2D8B61 #322D8B #8B2D57
split-complementary
#868B2D #2D578B #612D8B
monochromatic
#2D2F0F #595D1E #868B2D #B3B93C #C8CD65

Accessibility & contrast

On white

3.66
#868B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#868B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B2D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B2D#FFFFFF#000000##000000
##868B2D1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958520
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#8F8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868b2d;
/* rgb */ color: rgb(134, 139, 45);
/* oklch */ color: oklch(61.4% 0.116 112.3);
Tailwind
colors: {
  custom: {
    50: '#acac6b',
    500: '#868b2d',
    950: '#000000',
  },
}
SCSS
$custom: #868b2d;
$custom-light: #acac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#868b2d",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 63.191,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61408,
    "c": 0.11582,
    "h": 112.3
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#868B2D
secondary
#6460B4
accent
#4DDB55
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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