#868F2E#868F2E

#868F2E is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.120 H 114.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#868F2E
RGBrgb(134, 143, 46)
HSLhsl(66, 51%, 37%)
HSVhsv(66, 68%, 56%)
CMYKcmyk(6.3%, 0%, 67.8%, 43.9%)
CIE-LABlab(56.99, -16.48, 48.36)
CIE-LCHlch(56.99, 51.09, 108.82°)
OKLaboklab(62.35% -0.0495 0.109)
OKLCHoklch(62.35% 0.12 114.4)
XYZxyz(20.1476, 24.9109, 6.3312)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F2E #372E8F
analogous
#8F682E #868F2E #568F2E
triadic
#868F2E #2E868F #8F2E86
tetradic
#868F2E #2E8F68 #372E8F #8F2E56
square
#868F2E #2E8F68 #372E8F #8F2E56
split-complementary
#868F2E #2E568F #682E8F
monochromatic
#2F3210 #5B611F #868F2E #B1BD3D #C5CF69

Accessibility & contrast

On white

3.51
#868F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#868F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F2E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F2E#FFFFFF#000000##000000
##868F2E1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#8F877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #868f2e;
/* rgb */ color: rgb(134, 143, 46);
/* oklch */ color: oklch(62.4% 0.120 114.4);
Tailwind
colors: {
  custom: {
    50: '#acaf6c',
    500: '#868f2e',
    950: '#000000',
  },
}
SCSS
$custom: #868f2e;
$custom-light: #acaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#868f2e",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 65.567,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.11973,
    "h": 114.4
  },
  "luminance": 0.24911
}

Semantic roles & 50–950 ramp

primary
#868F2E
secondary
#6B63B6
accent
#4DDB5A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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