#6C8C1D#6C8C1D

#6C8C1D is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.5% C 0.138 H 125.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6C8C1D
RGBrgb(108, 140, 29)
HSLhsl(77, 66%, 33%)
HSVhsv(77, 79%, 55%)
CMYKcmyk(22.9%, 0%, 79.3%, 45.1%)
CIE-LABlab(54.06, -27.16, 51.22)
CIE-LCHlch(54.06, 57.98, 117.93°)
OKLaboklab(59.48% -0.079 0.1129)
OKLCHoklch(59.48% 0.138 125)
XYZxyz(15.7843, 22.0328, 4.5833)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8C1D #3D1D8C
analogous
#8C741D #6C8C1D #358C1D
triadic
#6C8C1D #1D6C8C #8C1D6C
tetradic
#6C8C1D #1D8C74 #3D1D8C #8C1D35
square
#6C8C1D #1D8C74 #3D1D8C #8C1D35
split-complementary
#6C8C1D #1D358C #741D8C
monochromatic
#1E2708 #455912 #6C8C1D #93BF28 #B0D94A

Accessibility & contrast

On white

3.88
#6C8C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#6C8C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8C1D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8C1D#FFFFFF#000000##000000
##6C8C1D1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#718577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8c1d;
/* rgb */ color: rgb(108, 140, 29);
/* oklch */ color: oklch(59.5% 0.138 125.0);
Tailwind
colors: {
  custom: {
    50: '#9aad63',
    500: '#6c8c1d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8c1d;
$custom-light: #9aad63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8c1d",
  "rgb": {
    "r": 108,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 77.297,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.13778,
    "h": 125
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#6C8C1D
secondary
#6A49BC
accent
#3FE970
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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