#6C8D26#6C8D26

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

Color values

HEX#6C8D26
RGBrgb(108, 141, 38)
HSLhsl(79, 58%, 35%)
HSVhsv(79, 73%, 55%)
CMYKcmyk(23.4%, 0%, 73%, 44.7%)
CIE-LABlab(54.43, -27.14, 48.37)
CIE-LCHlch(54.43, 55.46, 119.30°)
OKLaboklab(59.79% -0.0782 0.1084)
OKLCHoklch(59.79% 0.134 125.8)
XYZxyz(16.0592, 22.3776, 5.3066)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D26 #47268D
analogous
#8D7A26 #6C8D26 #398D26
triadic
#6C8D26 #266C8D #8D266C
tetradic
#6C8D26 #268D7A #47268D #8D2639
square
#6C8D26 #268D7A #47268D #8D2639
split-complementary
#6C8D26 #26398D #7A268D
monochromatic
#222D0C #475D19 #6C8D26 #91BD33 #ACD35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8D26#FFFFFF#000000##000000
##6C8D261.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958314
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#718679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d26;
/* rgb */ color: rgb(108, 141, 38);
/* oklch */ color: oklch(59.8% 0.134 125.8);
Tailwind
colors: {
  custom: {
    50: '#99ae67',
    500: '#6c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d26;
$custom-light: #99ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d26",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 79.223,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.13366,
    "h": 125.8
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#6C8D26
secondary
#7657B8
accent
#47E178
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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