#6C8E1C#6C8E1C

#6C8E1C is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.141 H 125.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C8E1C
RGBrgb(108, 142, 28)
HSLhsl(78, 67%, 33%)
HSVhsv(78, 80%, 56%)
CMYKcmyk(23.9%, 0%, 80.3%, 44.3%)
CIE-LABlab(54.68, -28.18, 52.11)
CIE-LCHlch(54.68, 59.24, 118.40°)
OKLaboklab(59.97% -0.0819 0.1146)
OKLCHoklch(59.97% 0.141 125.5)
XYZxyz(16.0671, 22.6178, 4.6176)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E1C #3E1C8E
analogous
#8E771C #6C8E1C #338E1C
triadic
#6C8E1C #1C6C8E #8E1C6C
tetradic
#6C8E1C #1C8E77 #3E1C8E #8E1C33
square
#6C8E1C #1C8E77 #3E1C8E #8E1C33
split-complementary
#6C8E1C #1C338E #771C8E
monochromatic
#1E2808 #455B12 #6C8E1C #93C126 #B0DB49

Accessibility & contrast

On white

3.80
#6C8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6C8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E1C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E1C#FFFFFF#000000##000000
##6C8E1C1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e1c;
/* rgb */ color: rgb(108, 142, 28);
/* oklch */ color: oklch(60.0% 0.141 125.5);
Tailwind
colors: {
  custom: {
    50: '#9aaf63',
    500: '#6c8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e1c;
$custom-light: #9aaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e1c",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 77.895,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.14082,
    "h": 125.5
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#6C8E1C
secondary
#6B49BD
accent
#3EEA71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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