#6C8B26#6C8B26

#6C8B26 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.131 H 125.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C8B26
RGBrgb(108, 139, 38)
HSLhsl(78, 57%, 35%)
HSVhsv(78, 73%, 55%)
CMYKcmyk(22.3%, 0%, 72.7%, 45.5%)
CIE-LABlab(53.81, -26.16, 47.75)
CIE-LCHlch(53.81, 54.45, 118.72°)
OKLaboklab(59.29% -0.0755 0.1071)
OKLCHoklch(59.29% 0.131 125.2)
XYZxyz(15.7669, 21.7931, 5.2092)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B26 #45268B
analogous
#8B7826 #6C8B26 #3A8B26
triadic
#6C8B26 #266C8B #8B266C
tetradic
#6C8B26 #268B78 #45268B #8B263A
square
#6C8B26 #268B78 #45268B #8B263A
split-complementary
#6C8B26 #263A8B #78268B
monochromatic
#212B0C #475B19 #6C8B26 #91BB33 #ADD25A

Accessibility & contrast

On white

3.92
#6C8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6C8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B26
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B26#FFFFFF#000000##000000
##6C8B261.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938215
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b26;
/* rgb */ color: rgb(108, 139, 38);
/* oklch */ color: oklch(59.3% 0.131 125.2);
Tailwind
colors: {
  custom: {
    50: '#99ad67',
    500: '#6c8b26',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b26;
$custom-light: #99ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b26",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 78.416,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.13105,
    "h": 125.2
  },
  "luminance": 0.21793
}

Semantic roles & 50–950 ramp

primary
#6C8B26
secondary
#7456B7
accent
#47E076
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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