#6C8126#6C8126

#6C8126 is a mid, moderate yellow-green. Relative luminance 0.190; OKLCH L 56.8% C 0.118 H 121.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6C8126
RGBrgb(108, 129, 38)
HSLhsl(74, 54%, 33%)
HSVhsv(74, 71%, 51%)
CMYKcmyk(16.3%, 0%, 70.5%, 49.4%)
CIE-LABlab(50.72, -21.13, 44.64)
CIE-LCHlch(50.72, 49.39, 115.34°)
OKLaboklab(56.79% -0.0617 0.1006)
OKLCHoklch(56.79% 0.118 121.5)
XYZxyz(14.3847, 19.0286, 4.7484)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8126 #3B2681
analogous
#816826 #6C8126 #3F8126
triadic
#6C8126 #266C81 #81266C
tetradic
#6C8126 #268168 #3B2681 #81263F
square
#6C8126 #268168 #3B2681 #81263F
split-complementary
#6C8126 #263F81 #682681
monochromatic
#1D220A #445218 #6C8126 #94B034 #B1CD55

Accessibility & contrast

On white

4.37
#6C8126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6C8126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8126
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8126#FFFFFF#000000##000000
##6C81261.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897918
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#727A6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8126;
/* rgb */ color: rgb(108, 129, 38);
/* oklch */ color: oklch(56.8% 0.118 121.5);
Tailwind
colors: {
  custom: {
    50: '#99a566',
    500: '#6c8126',
    950: '#000000',
  },
}
SCSS
$custom: #6c8126;
$custom-light: #99a566;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8126",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 73.846,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.11797,
    "h": 121.5
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#6C8126
secondary
#6851B1
accent
#4ADE6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8126

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

Preview Lab → · Contrast checker → · Palette generator →

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