#6C8E1E#6C8E1E

#6C8E1E 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.53:1 contrast (WCAG AA passes).

Color values

HEX#6C8E1E
RGBrgb(108, 142, 30)
HSLhsl(78, 65%, 34%)
HSVhsv(78, 79%, 56%)
CMYKcmyk(23.9%, 0%, 78.9%, 44.3%)
CIE-LABlab(54.69, -28.08, 51.48)
CIE-LCHlch(54.69, 58.64, 118.61°)
OKLaboklab(59.99% -0.0814 0.1136)
OKLCHoklch(59.99% 0.14 125.6)
XYZxyz(16.0918, 22.6277, 4.7478)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E1E #401E8E
analogous
#8E781E #6C8E1E #348E1E
triadic
#6C8E1E #1E6C8E #8E1E6C
tetradic
#6C8E1E #1E8E78 #401E8E #8E1E34
square
#6C8E1E #1E8E78 #401E8E #8E1E34
split-complementary
#6C8E1E #1E348E #781E8E
monochromatic
#1F2909 #465B13 #6C8E1E #92C129 #AFD94D

Accessibility & contrast

On white

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

On black

5.53
#6C8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E1E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E1E#FFFFFF#000000##000000
##6C8E1E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.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: #6c8e1e;
/* rgb */ color: rgb(108, 142, 30);
/* oklch */ color: oklch(60.0% 0.140 125.6);
Tailwind
colors: {
  custom: {
    50: '#9aaf64',
    500: '#6c8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e1e;
$custom-light: #9aaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e1e",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 78.214,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.13977,
    "h": 125.6
  },
  "luminance": 0.22628
}

Semantic roles & 50–950 ramp

primary
#6C8E1E
secondary
#6E4CBC
accent
#40E873
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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