#6C8E11#6C8E11

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

Color values

HEX#6C8E11
RGBrgb(108, 142, 17)
HSLhsl(76, 79%, 31%)
HSVhsv(76, 88%, 56%)
CMYKcmyk(23.9%, 0%, 88%, 44.3%)
CIE-LABlab(54.63, -28.61, 55.03)
CIE-LCHlch(54.63, 62.02, 117.46°)
OKLaboklab(59.92% -0.0837 0.119)
OKLCHoklch(59.92% 0.146 125.1)
XYZxyz(15.9587, 22.5744, 4.0467)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E11 #33118E
analogous
#8E7111 #6C8E11 #2D8E11
triadic
#6C8E11 #116C8E #8E116C
tetradic
#6C8E11 #118E71 #33118E #8E112D
square
#6C8E11 #118E71 #33118E #8E112D
split-complementary
#6C8E11 #112D8E #71118E
monochromatic
#192104 #42570A #6C8E11 #96C518 #B6E733

Accessibility & contrast

On white

3.81
#6C8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8E11#FFFFFF#000000##000000
##6C8E111.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8e11;
/* rgb */ color: rgb(108, 142, 17);
/* oklch */ color: oklch(59.9% 0.146 125.1);
Tailwind
colors: {
  custom: {
    50: '#9aaf5f',
    500: '#6c8e11',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e11;
$custom-light: #9aaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e11",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 76.32,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.14551,
    "h": 125.1
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#6C8E11
secondary
#5E38C2
accent
#33F568
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6C8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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