#868C1E#868C1E

#868C1E is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.127 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#868C1E
RGBrgb(134, 140, 30)
HSLhsl(63, 65%, 33%)
HSVhsv(63, 79%, 55%)
CMYKcmyk(4.3%, 0%, 78.6%, 45.1%)
CIE-LABlab(56.01, -15.76, 53.40)
CIE-LCHlch(56.01, 55.67, 106.44°)
OKLaboklab(61.54% -0.0491 0.1168)
OKLCHoklch(61.54% 0.127 112.8)
XYZxyz(19.4446, 23.9187, 4.8205)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C1E #241E8C
analogous
#8C5B1E #868C1E #4F8C1E
triadic
#868C1E #1E868C #8C1E86
tetradic
#868C1E #1E8C5B #241E8C #8C1E4F
square
#868C1E #1E8C5B #241E8C #8C1E4F
split-complementary
#868C1E #1E4F8C #5B1E8C
monochromatic
#262708 #565A13 #868C1E #B6BE29 #D1D94C

Accessibility & contrast

On white

3.63
#868C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#868C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C1E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C1E#FFFFFF#000000##000000
##868C1E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#908378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c1e;
/* rgb */ color: rgb(134, 140, 30);
/* oklch */ color: oklch(61.5% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad64',
    500: '#868c1e',
    950: '#000000',
  },
}
SCSS
$custom: #868c1e;
$custom-light: #adad64;
$custom-dark: #000000;
JSON
{
  "hex": "#868c1e",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 63.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.12667,
    "h": 112.8
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#868C1E
secondary
#514BBB
accent
#40E849
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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