#868E2D#868E2D

#868E2D is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.119 H 113.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#868E2D
RGBrgb(134, 142, 45)
HSLhsl(65, 52%, 37%)
HSVhsv(65, 68%, 56%)
CMYKcmyk(5.6%, 0%, 68.3%, 44.3%)
CIE-LABlab(56.69, -16.02, 48.47)
CIE-LCHlch(56.69, 51.05, 108.29°)
OKLaboklab(62.11% -0.0484 0.1091)
OKLCHoklch(62.11% 0.119 113.9)
XYZxyz(19.9787, 24.6042, 6.1787)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E2D #352D8E
analogous
#8E662D #868E2D #568E2D
triadic
#868E2D #2D868E #8E2D86
tetradic
#868E2D #2D8E66 #352D8E #8E2D56
square
#868E2D #2D8E66 #352D8E #8E2D56
split-complementary
#868E2D #2D568E #662D8E
monochromatic
#2E3110 #5A601E #868E2D #B2BC3C #C6CF67

Accessibility & contrast

On white

3.55
#868E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#868E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E2D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E2D#FFFFFF#000000##000000
##868E2D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e2d;
/* rgb */ color: rgb(134, 142, 45);
/* oklch */ color: oklch(62.1% 0.119 113.9);
Tailwind
colors: {
  custom: {
    50: '#acae6c',
    500: '#868e2d',
    950: '#000000',
  },
}
SCSS
$custom: #868e2d;
$custom-light: #acae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#868e2d",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 64.948,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.11931,
    "h": 113.9
  },
  "luminance": 0.24604
}

Semantic roles & 50–950 ramp

primary
#868E2D
secondary
#6861B5
accent
#4CDB58
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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