#6C8C1E#6C8C1E

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

Color values

HEX#6C8C1E
RGBrgb(108, 140, 30)
HSLhsl(77, 65%, 33%)
HSVhsv(77, 79%, 55%)
CMYKcmyk(22.9%, 0%, 78.6%, 45.1%)
CIE-LABlab(54.07, -27.11, 50.90)
CIE-LCHlch(54.07, 57.67, 118.04°)
OKLaboklab(59.48% -0.0788 0.1124)
OKLCHoklch(59.48% 0.137 125)
XYZxyz(15.7969, 22.0379, 4.6495)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8C1E #3E1E8C
analogous
#8C751E #6C8C1E #358C1E
triadic
#6C8C1E #1E6C8C #8C1E6C
tetradic
#6C8C1E #1E8C75 #3E1E8C #8C1E35
square
#6C8C1E #1E8C75 #3E1E8C #8C1E35
split-complementary
#6C8C1E #1E358C #751E8C
monochromatic
#1E2708 #455A13 #6C8C1E #93BE29 #B0D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8C1E#FFFFFF#000000##000000
##6C8C1E1.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)
#948202
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#718577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8c1e;
/* rgb */ color: rgb(108, 140, 30);
/* oklch */ color: oklch(59.5% 0.137 125.0);
Tailwind
colors: {
  custom: {
    50: '#9aad63',
    500: '#6c8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8c1e;
$custom-light: #9aad63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8c1e",
  "rgb": {
    "r": 108,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 77.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.13724,
    "h": 125
  },
  "luminance": 0.22038
}

Semantic roles & 50–950 ramp

primary
#6C8C1E
secondary
#6B4BBB
accent
#40E871
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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