#868D2F#868D2F

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

Color values

HEX#868D2F
RGBrgb(134, 141, 47)
HSLhsl(64, 50%, 37%)
HSVhsv(64, 67%, 55%)
CMYKcmyk(5%, 0%, 66.7%, 44.7%)
CIE-LABlab(56.41, -15.36, 47.34)
CIE-LCHlch(56.41, 49.77, 107.98°)
OKLaboklab(61.89% -0.0463 0.107)
OKLCHoklch(61.89% 0.117 113.4)
XYZxyz(19.8700, 24.3237, 6.3370)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D2F #362F8D
analogous
#8D652F #868D2F #578D2F
triadic
#868D2F #2F868D #8D2F86
tetradic
#868D2F #2F8D65 #362F8D #8D2F57
square
#868D2F #2F8D65 #362F8D #8D2F57
split-complementary
#868D2F #2F578D #652F8D
monochromatic
#2F3110 #5A5F20 #868D2F #B2BB3E #C6CD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868D2F#FFFFFF#000000##000000
##868D2F1.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)
#978622
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#8F857A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d2f;
/* rgb */ color: rgb(134, 141, 47);
/* oklch */ color: oklch(61.9% 0.117 113.4);
Tailwind
colors: {
  custom: {
    50: '#acae6d',
    500: '#868d2f',
    950: '#000000',
  },
}
SCSS
$custom: #868d2f;
$custom-light: #acae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#868d2f",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 64.468,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.1166,
    "h": 113.4
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#868D2F
secondary
#6A64B4
accent
#4EDA59
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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