#6C8E27#6C8E27

#6C8E27 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.134 H 126.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6C8E27
RGBrgb(108, 142, 39)
HSLhsl(80, 57%, 35%)
HSVhsv(80, 73%, 56%)
CMYKcmyk(23.9%, 0%, 72.5%, 44.3%)
CIE-LABlab(54.74, -27.56, 48.30)
CIE-LCHlch(54.74, 55.61, 119.71°)
OKLaboklab(60.05% -0.0793 0.1084)
OKLCHoklch(60.05% 0.134 126.2)
XYZxyz(16.2236, 22.6804, 5.4421)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E27 #49278E
analogous
#8E7C27 #6C8E27 #388E27
triadic
#6C8E27 #276C8E #8E276C
tetradic
#6C8E27 #278E7C #49278E #8E2738
square
#6C8E27 #278E7C #49278E #8E2738
split-complementary
#6C8E27 #27388E #7C278E
monochromatic
#232E0D #475E1A #6C8E27 #91BE34 #ACD25D

Accessibility & contrast

On white

3.79
#6C8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6C8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E27
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E27#FFFFFF#000000##000000
##6C8E271.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968415
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#71877A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e27;
/* rgb */ color: rgb(108, 142, 39);
/* oklch */ color: oklch(60.0% 0.134 126.2);
Tailwind
colors: {
  custom: {
    50: '#99af68',
    500: '#6c8e27',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e27;
$custom-light: #99af68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e27",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 79.806,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.1343,
    "h": 126.2
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#6C8E27
secondary
#7859B8
accent
#48E07A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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