#6C8125#6C8125

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

Color values

HEX#6C8125
RGBrgb(108, 129, 37)
HSLhsl(74, 55%, 33%)
HSVhsv(74, 71%, 51%)
CMYKcmyk(16.3%, 0%, 71.3%, 49.4%)
CIE-LABlab(50.71, -21.20, 45.04)
CIE-LCHlch(50.71, 49.78, 115.21°)
OKLaboklab(56.79% -0.062 0.1012)
OKLCHoklch(56.79% 0.119 121.5)
XYZxyz(14.3687, 19.0222, 4.6646)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8125 #3A2581
analogous
#816825 #6C8125 #3E8125
triadic
#6C8125 #256C81 #81256C
tetradic
#6C8125 #258168 #3A2581 #81253E
square
#6C8125 #258168 #3A2581 #81253E
split-complementary
#6C8125 #253E81 #682581
monochromatic
#1C220A #445117 #6C8125 #94B133 #B2CE53

Accessibility & contrast

On white

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

On black

4.80
#6C8125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8125
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8125#FFFFFF#000000##000000
##6C81251.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8125;
/* rgb */ color: rgb(108, 129, 37);
/* oklch */ color: oklch(56.8% 0.119 121.5);
Tailwind
colors: {
  custom: {
    50: '#99a566',
    500: '#6c8125',
    950: '#000000',
  },
}
SCSS
$custom: #6c8125;
$custom-light: #99a566;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8125",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 73.696,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.1187,
    "h": 121.5
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#6C8125
secondary
#6650B2
accent
#49DF6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8125

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

Preview Lab → · Contrast checker → · Palette generator →

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