#6C8F26#6C8F26

#6C8F26 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.3% C 0.136 H 126.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6C8F26
RGBrgb(108, 143, 38)
HSLhsl(80, 58%, 35%)
HSVhsv(80, 73%, 56%)
CMYKcmyk(24.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(55.04, -28.11, 48.98)
CIE-LCHlch(55.04, 56.48, 119.85°)
OKLaboklab(60.29% -0.0809 0.1097)
OKLCHoklch(60.29% 0.136 126.4)
XYZxyz(16.3567, 22.9727, 5.4058)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F26 #49268F
analogous
#8F7D26 #6C8F26 #378F26
triadic
#6C8F26 #266C8F #8F266C
tetradic
#6C8F26 #268F7D #49268F #8F2637
square
#6C8F26 #268F7D #49268F #8F2637
split-complementary
#6C8F26 #26378F #7D268F
monochromatic
#232E0C #475F19 #6C8F26 #91BF33 #ACD45C

Accessibility & contrast

On white

3.75
#6C8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#6C8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F26
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F26#FFFFFF#000000##000000
##6C8F261.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978513
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#71887B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f26;
/* rgb */ color: rgb(108, 143, 38);
/* oklch */ color: oklch(60.3% 0.136 126.4);
Tailwind
colors: {
  custom: {
    50: '#99b068',
    500: '#6c8f26',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f26;
$custom-light: #99b068;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f26",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 80,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.13627,
    "h": 126.4
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#6C8F26
secondary
#7858B9
accent
#47E17A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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