#6C8E1D#6C8E1D

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

Color values

HEX#6C8E1D
RGBrgb(108, 142, 29)
HSLhsl(78, 66%, 34%)
HSVhsv(78, 80%, 56%)
CMYKcmyk(23.9%, 0%, 79.6%, 44.3%)
CIE-LABlab(54.68, -28.13, 51.80)
CIE-LCHlch(54.68, 58.94, 118.50°)
OKLaboklab(59.98% -0.0817 0.1141)
OKLCHoklch(59.98% 0.14 125.6)
XYZxyz(16.0792, 22.6226, 4.6816)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E1D #3F1D8E
analogous
#8E771D #6C8E1D #338E1D
triadic
#6C8E1D #1D6C8E #8E1D6C
tetradic
#6C8E1D #1D8E77 #3F1D8E #8E1D33
square
#6C8E1D #1D8E77 #3F1D8E #8E1D33
split-complementary
#6C8E1D #1D338E #771D8E
monochromatic
#1F2808 #455B13 #6C8E1D #93C127 #AFDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8E1D#FFFFFF#000000##000000
##6C8E1D1.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)
#918229
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e1d;
/* rgb */ color: rgb(108, 142, 29);
/* oklch */ color: oklch(60.0% 0.140 125.6);
Tailwind
colors: {
  custom: {
    50: '#9aaf63',
    500: '#6c8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e1d;
$custom-light: #9aaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e1d",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 78.053,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.14031,
    "h": 125.6
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#6C8E1D
secondary
#6D4ABD
accent
#3FE972
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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