#6C861D#6C861D

#6C861D is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 58.0% C 0.130 H 123.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6C861D
RGBrgb(108, 134, 29)
HSLhsl(75, 64%, 32%)
HSVhsv(75, 78%, 53%)
CMYKcmyk(19.4%, 0%, 78.4%, 47.5%)
CIE-LABlab(52.20, -24.20, 49.49)
CIE-LCHlch(52.20, 55.09, 116.06°)
OKLaboklab(57.98% -0.0709 0.1092)
OKLCHoklch(57.98% 0.13 123)
XYZxyz(14.9314, 20.3270, 4.2990)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C861D #371D86
analogous
#866C1D #6C861D #38861D
triadic
#6C861D #1D6C86 #861D6C
tetradic
#6C861D #1D866C #371D86 #861D38
square
#6C861D #1D866C #371D86 #861D38
split-complementary
#6C861D #1D3886 #6C1D86
monochromatic
#1B2107 #435412 #6C861D #95B828 #B3D746

Accessibility & contrast

On white

4.15
#6C861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6C861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C861D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C861D#FFFFFF#000000##000000
##6C861D1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D03
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#727F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c861d;
/* rgb */ color: rgb(108, 134, 29);
/* oklch */ color: oklch(58.0% 0.130 123.0);
Tailwind
colors: {
  custom: {
    50: '#99a962',
    500: '#6c861d',
    950: '#000000',
  },
}
SCSS
$custom: #6c861d;
$custom-light: #99a962;
$custom-dark: #000000;
JSON
{
  "hex": "#6c861d",
  "rgb": {
    "r": 108,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 74.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.13023,
    "h": 123
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#6C861D
secondary
#6246B9
accent
#40E76A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C861D

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

Preview Lab → · Contrast checker → · Palette generator →

#6C861D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva