#6C8D1D#6C8D1D

#6C8D1D is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.139 H 125.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6C8D1D
RGBrgb(108, 141, 29)
HSLhsl(78, 66%, 33%)
HSVhsv(78, 79%, 55%)
CMYKcmyk(23.4%, 0%, 79.4%, 44.7%)
CIE-LABlab(54.37, -27.65, 51.51)
CIE-LCHlch(54.37, 58.46, 118.22°)
OKLaboklab(59.73% -0.0803 0.1135)
OKLCHoklch(59.73% 0.139 125.3)
XYZxyz(15.9311, 22.3264, 4.6323)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D1D #3E1D8D
analogous
#8D761D #6C8D1D #348D1D
triadic
#6C8D1D #1D6C8D #8D1D6C
tetradic
#6C8D1D #1D8D76 #3E1D8D #8D1D34
square
#6C8D1D #1D8D76 #3E1D8D #8D1D34
split-complementary
#6C8D1D #1D348D #761D8D
monochromatic
#1E2708 #455A13 #6C8D1D #93C027 #B0DA4B

Accessibility & contrast

On white

3.84
#6C8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6C8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D1D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D1D#FFFFFF#000000##000000
##6C8D1D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d1d;
/* rgb */ color: rgb(108, 141, 29);
/* oklch */ color: oklch(59.7% 0.139 125.3);
Tailwind
colors: {
  custom: {
    50: '#9aae63',
    500: '#6c8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d1d;
$custom-light: #9aae63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d1d",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 77.679,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.13905,
    "h": 125.3
  },
  "luminance": 0.22327
}

Semantic roles & 50–950 ramp

primary
#6C8D1D
secondary
#6B4ABC
accent
#3FE971
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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