#6C8D1E#6C8D1E

#6C8D1E is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.139 H 125.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6C8D1E
RGBrgb(108, 141, 30)
HSLhsl(78, 65%, 34%)
HSVhsv(78, 79%, 55%)
CMYKcmyk(23.4%, 0%, 78.7%, 44.7%)
CIE-LABlab(54.38, -27.60, 51.19)
CIE-LCHlch(54.38, 58.15, 118.33°)
OKLaboklab(59.73% -0.0801 0.113)
OKLCHoklch(59.73% 0.139 125.4)
XYZxyz(15.9437, 22.3314, 4.6985)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D1E #3F1E8D
analogous
#8D761E #6C8D1E #348D1E
triadic
#6C8D1E #1E6C8D #8D1E6C
tetradic
#6C8D1E #1E8D76 #3F1E8D #8D1E34
square
#6C8D1E #1E8D76 #3F1E8D #8D1E34
split-complementary
#6C8D1E #1E348D #761E8D
monochromatic
#1F2809 #455B13 #6C8D1E #93BF29 #AFD94C

Accessibility & contrast

On white

3.84
#6C8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6C8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D1E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D1E#FFFFFF#000000##000000
##6C8D1E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958301
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d1e;
/* rgb */ color: rgb(108, 141, 30);
/* oklch */ color: oklch(59.7% 0.139 125.4);
Tailwind
colors: {
  custom: {
    50: '#9aae64',
    500: '#6c8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d1e;
$custom-light: #9aae64;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d1e",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 77.838,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.13851,
    "h": 125.4
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#6C8D1E
secondary
#6D4BBC
accent
#40E872
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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