#6C8D27#6C8D27

#6C8D27 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.133 H 125.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6C8D27
RGBrgb(108, 141, 39)
HSLhsl(79, 57%, 35%)
HSVhsv(79, 72%, 55%)
CMYKcmyk(23.4%, 0%, 72.3%, 44.7%)
CIE-LABlab(54.43, -27.08, 47.99)
CIE-LCHlch(54.43, 55.10, 119.43°)
OKLaboklab(59.8% -0.078 0.1077)
OKLCHoklch(59.8% 0.133 125.9)
XYZxyz(16.0755, 22.3842, 5.3927)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D27 #48278D
analogous
#8D7B27 #6C8D27 #398D27
triadic
#6C8D27 #276C8D #8D276C
tetradic
#6C8D27 #278D7B #48278D #8D2739
square
#6C8D27 #278D7B #48278D #8D2739
split-complementary
#6C8D27 #27398D #7B278D
monochromatic
#232D0C #475D1A #6C8D27 #91BD34 #ACD25C

Accessibility & contrast

On white

3.83
#6C8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6C8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D27
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D27#FFFFFF#000000##000000
##6C8D271.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958316
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#718679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d27;
/* rgb */ color: rgb(108, 141, 39);
/* oklch */ color: oklch(59.8% 0.133 125.9);
Tailwind
colors: {
  custom: {
    50: '#99ae68',
    500: '#6c8d27',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d27;
$custom-light: #99ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d27",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 79.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.13299,
    "h": 125.9
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#6C8D27
secondary
#7759B7
accent
#48E079
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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