#868D2D#868D2D

#868D2D is a mid, moderate yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.118 H 113.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#868D2D
RGBrgb(134, 141, 45)
HSLhsl(64, 52%, 36%)
HSVhsv(64, 68%, 55%)
CMYKcmyk(5%, 0%, 68.1%, 44.7%)
CIE-LABlab(56.39, -15.49, 48.17)
CIE-LCHlch(56.39, 50.60, 107.83°)
OKLaboklab(61.88% -0.0469 0.1084)
OKLCHoklch(61.88% 0.118 113.4)
XYZxyz(19.8306, 24.3079, 6.1294)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D2D #342D8D
analogous
#8D642D #868D2D #568D2D
triadic
#868D2D #2D868D #8D2D86
tetradic
#868D2D #2D8D64 #342D8D #8D2D56
square
#868D2D #2D8D64 #342D8D #8D2D56
split-complementary
#868D2D #2D568D #642D8D
monochromatic
#2E300F #5A5F1E #868D2D #B2BB3C #C7CE66

Accessibility & contrast

On white

3.58
#868D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#868D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D2D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D2D#FFFFFF#000000##000000
##868D2D1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#8F857A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d2d;
/* rgb */ color: rgb(134, 141, 45);
/* oklch */ color: oklch(61.9% 0.118 113.4);
Tailwind
colors: {
  custom: {
    50: '#acae6c',
    500: '#868d2d',
    950: '#000000',
  },
}
SCSS
$custom: #868d2d;
$custom-light: #acae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#868d2d",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 64.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.11814,
    "h": 113.4
  },
  "luminance": 0.24308
}

Semantic roles & 50–950 ramp

primary
#868D2D
secondary
#6761B5
accent
#4DDB57
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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