#868C2B#868C2B

#868C2B is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.118 H 112.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#868C2B
RGBrgb(134, 140, 43)
HSLhsl(64, 53%, 36%)
HSVhsv(64, 69%, 55%)
CMYKcmyk(4.3%, 0%, 69.3%, 45.1%)
CIE-LABlab(56.09, -15.09, 48.68)
CIE-LCHlch(56.09, 50.97, 107.22°)
OKLaboklab(61.63% -0.046 0.1092)
OKLCHoklch(61.63% 0.118 112.8)
XYZxyz(19.6462, 23.9993, 5.8824)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C2B #312B8C
analogous
#8C612B #868C2B #558C2B
triadic
#868C2B #2B868C #8C2B86
tetradic
#868C2B #2B8C61 #312B8C #8C2B55
square
#868C2B #2B8C61 #312B8C #8C2B55
split-complementary
#868C2B #2B558C #612B8C
monochromatic
#2C2E0E #595D1D #868C2B #B3BB39 #C8CF62

Accessibility & contrast

On white

3.62
#868C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#868C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C2B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C2B#FFFFFF#000000##000000
##868C2B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851C
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#8F8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c2b;
/* rgb */ color: rgb(134, 140, 43);
/* oklch */ color: oklch(61.6% 0.118 112.8);
Tailwind
colors: {
  custom: {
    50: '#acad6a',
    500: '#868c2b',
    950: '#000000',
  },
}
SCSS
$custom: #868c2b;
$custom-light: #acad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#868c2b",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 63.711,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61625,
    "c": 0.11846,
    "h": 112.8
  },
  "luminance": 0.23999
}

Semantic roles & 50–950 ramp

primary
#868C2B
secondary
#635EB5
accent
#4BDC54
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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