#6C8B28#6C8B28

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

Color values

HEX#6C8B28
RGBrgb(108, 139, 40)
HSLhsl(79, 55%, 35%)
HSVhsv(79, 71%, 55%)
CMYKcmyk(22.3%, 0%, 71.2%, 45.5%)
CIE-LABlab(53.82, -26.03, 46.97)
CIE-LCHlch(53.82, 53.70, 118.99°)
OKLaboklab(59.3% -0.075 0.1058)
OKLCHoklch(59.3% 0.13 125.3)
XYZxyz(15.8001, 21.8064, 5.3837)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B28 #47288B
analogous
#8B7828 #6C8B28 #3A8B28
triadic
#6C8B28 #286C8B #8B286C
tetradic
#6C8B28 #288B78 #47288B #8B283A
square
#6C8B28 #288B78 #47288B #8B283A
split-complementary
#6C8B28 #283A8B #78288B
monochromatic
#222C0D #475B1A #6C8B28 #91BB36 #ACD05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8B28#FFFFFF#000000##000000
##6C8B281.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)
#938218
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b28;
/* rgb */ color: rgb(108, 139, 40);
/* oklch */ color: oklch(59.3% 0.130 125.3);
Tailwind
colors: {
  custom: {
    50: '#99ad68',
    500: '#6c8b28',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b28;
$custom-light: #99ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b28",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 78.788,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.12967,
    "h": 125.3
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#6C8B28
secondary
#7659B6
accent
#49DF78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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