#6C8B24#6C8B24

#6C8B24 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#6C8B24
RGBrgb(108, 139, 36)
HSLhsl(78, 59%, 34%)
HSVhsv(78, 74%, 55%)
CMYKcmyk(22.3%, 0%, 74.1%, 45.5%)
CIE-LABlab(53.79, -26.29, 48.51)
CIE-LCHlch(53.79, 55.17, 118.45°)
OKLaboklab(59.27% -0.0761 0.1083)
OKLCHoklch(59.27% 0.132 125.1)
XYZxyz(15.7355, 21.7806, 5.0438)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B24 #43248B
analogous
#8B7724 #6C8B24 #398B24
triadic
#6C8B24 #246C8B #8B246C
tetradic
#6C8B24 #248B77 #43248B #8B2439
square
#6C8B24 #248B77 #43248B #8B2439
split-complementary
#6C8B24 #24398B #77248B
monochromatic
#202A0B #465A17 #6C8B24 #92BC31 #AED356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8B24#FFFFFF#000000##000000
##6C8B241.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)
#938211
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b24;
/* rgb */ color: rgb(108, 139, 36);
/* oklch */ color: oklch(59.3% 0.132 125.1);
Tailwind
colors: {
  custom: {
    50: '#99ad66',
    500: '#6c8b24',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b24;
$custom-light: #99ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b24",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 78.058,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.13237,
    "h": 125.1
  },
  "luminance": 0.21781
}

Semantic roles & 50–950 ramp

primary
#6C8B24
secondary
#7153B7
accent
#46E275
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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