#868D31#868D31

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

Color values

HEX#868D31
RGBrgb(134, 141, 49)
HSLhsl(65, 48%, 37%)
HSVhsv(65, 65%, 55%)
CMYKcmyk(5%, 0%, 65.2%, 44.7%)
CIE-LABlab(56.43, -15.23, 46.49)
CIE-LCHlch(56.43, 48.92, 108.14°)
OKLaboklab(61.91% -0.0457 0.1055)
OKLCHoklch(61.91% 0.115 113.4)
XYZxyz(19.9113, 24.3402, 6.5544)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D31 #38318D
analogous
#8D6631 #868D31 #588D31
triadic
#868D31 #31868D #8D3186
tetradic
#868D31 #318D66 #38318D #8D3158
square
#868D31 #318D66 #38318D #8D3158
split-complementary
#868D31 #31588D #66318D
monochromatic
#303211 #5B6021 #868D31 #B1BA41 #C5CC6C

Accessibility & contrast

On white

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

On black

5.87
#868D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D31
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D31#FFFFFF#000000##000000
##868D311.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978625
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#8F857A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d31;
/* rgb */ color: rgb(134, 141, 49);
/* oklch */ color: oklch(61.9% 0.115 113.4);
Tailwind
colors: {
  custom: {
    50: '#acae6e',
    500: '#868d31',
    950: '#000000',
  },
}
SCSS
$custom: #868d31;
$custom-light: #acae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#868d31",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 64.565,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.11502,
    "h": 113.4
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#868D31
secondary
#6C66B4
accent
#50D85A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868D31

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

Preview Lab → · Contrast checker → · Palette generator →

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