#6C8F1D#6C8F1D

#6C8F1D is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.2% C 0.142 H 125.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6C8F1D
RGBrgb(108, 143, 29)
HSLhsl(78, 66%, 34%)
HSVhsv(78, 80%, 56%)
CMYKcmyk(24.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(54.99, -28.61, 52.08)
CIE-LCHlch(54.99, 59.43, 118.78°)
OKLaboklab(60.23% -0.083 0.1147)
OKLCHoklch(60.23% 0.142 125.9)
XYZxyz(16.2287, 22.9215, 4.7315)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F1D #401D8F
analogous
#8F791D #6C8F1D #338F1D
triadic
#6C8F1D #1D6C8F #8F1D6C
tetradic
#6C8F1D #1D8F79 #401D8F #8F1D33
square
#6C8F1D #1D8F79 #401D8F #8F1D33
split-complementary
#6C8F1D #1D338F #791D8F
monochromatic
#1F2908 #465C13 #6C8F1D #92C227 #AFDB4C

Accessibility & contrast

On white

3.76
#6C8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#6C8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F1D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F1D#FFFFFF#000000##000000
##6C8F1D1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f1d;
/* rgb */ color: rgb(108, 143, 29);
/* oklch */ color: oklch(60.2% 0.142 125.9);
Tailwind
colors: {
  custom: {
    50: '#9ab063',
    500: '#6c8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f1d;
$custom-light: #9ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f1d",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 78.421,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.14156,
    "h": 125.9
  },
  "luminance": 0.22922
}

Semantic roles & 50–950 ramp

primary
#6C8F1D
secondary
#6E4BBD
accent
#3FE973
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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