#6C8D25#6C8D25

#6C8D25 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.47:1 contrast (WCAG AA passes).

Color values

HEX#6C8D25
RGBrgb(108, 141, 37)
HSLhsl(79, 58%, 35%)
HSVhsv(79, 74%, 55%)
CMYKcmyk(23.4%, 0%, 73.8%, 44.7%)
CIE-LABlab(54.42, -27.20, 48.74)
CIE-LCHlch(54.42, 55.82, 119.17°)
OKLaboklab(59.78% -0.0785 0.109)
OKLCHoklch(59.78% 0.134 125.8)
XYZxyz(16.0432, 22.3712, 5.2228)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D25 #46258D
analogous
#8D7A25 #6C8D25 #388D25
triadic
#6C8D25 #256C8D #8D256C
tetradic
#6C8D25 #258D7A #46258D #8D2538
square
#6C8D25 #258D7A #46258D #8D2538
split-complementary
#6C8D25 #25388D #7A258D
monochromatic
#222C0C #475D18 #6C8D25 #91BD32 #ADD359

Accessibility & contrast

On white

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

On black

5.47
#6C8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D25
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D25#FFFFFF#000000##000000
##6C8D251.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8d25;
/* rgb */ color: rgb(108, 141, 37);
/* oklch */ color: oklch(59.8% 0.134 125.8);
Tailwind
colors: {
  custom: {
    50: '#99ae67',
    500: '#6c8d25',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d25;
$custom-light: #99ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d25",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 79.038,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.13432,
    "h": 125.8
  },
  "luminance": 0.22371
}

Semantic roles & 50–950 ramp

primary
#6C8D25
secondary
#7556B8
accent
#46E277
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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