#6C8B25#6C8B25

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

Color values

HEX#6C8B25
RGBrgb(108, 139, 37)
HSLhsl(78, 58%, 35%)
HSVhsv(78, 73%, 55%)
CMYKcmyk(22.3%, 0%, 73.4%, 45.5%)
CIE-LABlab(53.80, -26.22, 48.13)
CIE-LCHlch(53.80, 54.81, 118.58°)
OKLaboklab(59.28% -0.0758 0.1077)
OKLCHoklch(59.28% 0.132 125.1)
XYZxyz(15.7510, 21.7868, 5.1253)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B25 #44258B
analogous
#8B7725 #6C8B25 #398B25
triadic
#6C8B25 #256C8B #8B256C
tetradic
#6C8B25 #258B77 #44258B #8B2539
square
#6C8B25 #258B77 #44258B #8B2539
split-complementary
#6C8B25 #25398B #77258B
monochromatic
#212A0B #465B18 #6C8B25 #92BB32 #ADD358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8B25#FFFFFF#000000##000000
##6C8B251.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)
#938213
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b25;
/* rgb */ color: rgb(108, 139, 37);
/* oklch */ color: oklch(59.3% 0.132 125.1);
Tailwind
colors: {
  custom: {
    50: '#99ad67',
    500: '#6c8b25',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b25;
$custom-light: #99ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b25",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 78.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.13172,
    "h": 125.1
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#6C8B25
secondary
#7355B7
accent
#47E176
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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