#6C841E#6C841E

#6C841E is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.127 H 122.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6C841E
RGBrgb(108, 132, 30)
HSLhsl(74, 63%, 32%)
HSVhsv(74, 77%, 52%)
CMYKcmyk(18.2%, 0%, 77.3%, 48.2%)
CIE-LABlab(51.59, -23.14, 48.57)
CIE-LCHlch(51.59, 53.80, 115.48°)
OKLaboklab(57.48% -0.068 0.1075)
OKLCHoklch(57.48% 0.127 122.3)
XYZxyz(14.6702, 19.7844, 4.2740)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C841E #361E84
analogous
#84691E #6C841E #39841E
triadic
#6C841E #1E6C84 #841E6C
tetradic
#6C841E #1E8469 #361E84 #841E39
square
#6C841E #1E8469 #361E84 #841E39
split-complementary
#6C841E #1E3984 #691E84
monochromatic
#1A2007 #435213 #6C841E #95B629 #B4D547

Accessibility & contrast

On white

4.24
#6C841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6C841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C841E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C841E#FFFFFF#000000##000000
##6C841E1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C07
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#727D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c841e;
/* rgb */ color: rgb(108, 132, 30);
/* oklch */ color: oklch(57.5% 0.127 122.3);
Tailwind
colors: {
  custom: {
    50: '#99a762',
    500: '#6c841e',
    950: '#000000',
  },
}
SCSS
$custom: #6c841e;
$custom-light: #99a762;
$custom-dark: #000000;
JSON
{
  "hex": "#6c841e",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 74.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.12714,
    "h": 122.3
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#6C841E
secondary
#6147B7
accent
#42E668
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C841E

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

Preview Lab → · Contrast checker → · Palette generator →

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