#6C8D24#6C8D24

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

Color values

HEX#6C8D24
RGBrgb(108, 141, 36)
HSLhsl(79, 59%, 35%)
HSVhsv(79, 74%, 55%)
CMYKcmyk(23.4%, 0%, 74.5%, 44.7%)
CIE-LABlab(54.41, -27.26, 49.11)
CIE-LCHlch(54.41, 56.17, 119.04°)
OKLaboklab(59.77% -0.0787 0.1096)
OKLCHoklch(59.77% 0.135 125.7)
XYZxyz(16.0278, 22.3650, 5.1412)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D24 #45248D
analogous
#8D7A24 #6C8D24 #388D24
triadic
#6C8D24 #246C8D #8D246C
tetradic
#6C8D24 #248D7A #45248D #8D2438
square
#6C8D24 #248D7A #45248D #8D2438
split-complementary
#6C8D24 #24388D #7A248D
monochromatic
#212B0B #475C18 #6C8D24 #91BE30 #ADD457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8D24#FFFFFF#000000##000000
##6C8D241.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)
#958310
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#718679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d24;
/* rgb */ color: rgb(108, 141, 36);
/* oklch */ color: oklch(59.8% 0.135 125.7);
Tailwind
colors: {
  custom: {
    50: '#99ae66',
    500: '#6c8d24',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d24;
$custom-light: #99ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d24",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 78.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.13497,
    "h": 125.7
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#6C8D24
secondary
#7454B8
accent
#45E377
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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