#868D2B#868D2B

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

Color values

HEX#868D2B
RGBrgb(134, 141, 43)
HSLhsl(64, 53%, 36%)
HSVhsv(64, 70%, 55%)
CMYKcmyk(5%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.38, -15.62, 48.98)
CIE-LCHlch(56.38, 51.41, 107.69°)
OKLaboklab(61.86% -0.0474 0.1098)
OKLCHoklch(61.86% 0.12 113.4)
XYZxyz(19.7930, 24.2929, 5.9314)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D2B #322B8D
analogous
#8D632B #868D2B #558D2B
triadic
#868D2B #2B868D #8D2B86
tetradic
#868D2B #2B8D63 #322B8D #8D2B55
square
#868D2B #2B8D63 #322B8D #8D2B55
split-complementary
#868D2B #2B558D #632B8D
monochromatic
#2D2F0E #595E1D #868D2B #B3BC39 #C8CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868D2B#FFFFFF#000000##000000
##868D2B1.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)
#97861C
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#8F8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d2b;
/* rgb */ color: rgb(134, 141, 43);
/* oklch */ color: oklch(61.9% 0.120 113.4);
Tailwind
colors: {
  custom: {
    50: '#acae6b',
    500: '#868d2b',
    950: '#000000',
  },
}
SCSS
$custom: #868d2b;
$custom-light: #acae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#868d2b",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 64.286,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.11961,
    "h": 113.4
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#868D2B
secondary
#645EB6
accent
#4BDD56
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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