#868E2F#868E2F

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

Color values

HEX#868E2F
RGBrgb(134, 142, 47)
HSLhsl(65, 50%, 37%)
HSVhsv(65, 67%, 56%)
CMYKcmyk(5.6%, 0%, 66.9%, 44.3%)
CIE-LABlab(56.70, -15.89, 47.64)
CIE-LCHlch(56.70, 50.22, 108.45°)
OKLaboklab(62.13% -0.0478 0.1077)
OKLCHoklch(62.13% 0.118 113.9)
XYZxyz(20.0181, 24.6199, 6.3864)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E2F #372F8E
analogous
#8E672F #868E2F #568E2F
triadic
#868E2F #2F868E #8E2F86
tetradic
#868E2F #2F8E67 #372F8E #8E2F56
square
#868E2F #2F8E67 #372F8E #8E2F56
split-complementary
#868E2F #2F568E #672F8E
monochromatic
#2F3211 #5B6020 #868E2F #B1BC3E #C5CE6A

Accessibility & contrast

On white

3.54
#868E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##868E2F#FFFFFF#000000##000000
##868E2F1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#8F867B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e2f;
/* rgb */ color: rgb(134, 142, 47);
/* oklch */ color: oklch(62.1% 0.118 113.9);
Tailwind
colors: {
  custom: {
    50: '#acae6d',
    500: '#868e2f',
    950: '#000000',
  },
}
SCSS
$custom: #868e2f;
$custom-light: #acae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#868e2f",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 65.053,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.11778,
    "h": 113.9
  },
  "luminance": 0.2462
}

Semantic roles & 50–950 ramp

primary
#868E2F
secondary
#6B64B5
accent
#4EDA5A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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