#6C841D#6C841D

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

Color values

HEX#6C841D
RGBrgb(108, 132, 29)
HSLhsl(74, 64%, 32%)
HSVhsv(74, 78%, 52%)
CMYKcmyk(18.2%, 0%, 78%, 48.2%)
CIE-LABlab(51.59, -23.19, 48.91)
CIE-LCHlch(51.59, 54.13, 115.37°)
OKLaboklab(57.48% -0.0682 0.108)
OKLCHoklch(57.48% 0.128 122.3)
XYZxyz(14.6576, 19.7793, 4.2078)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C841D #351D84
analogous
#84691D #6C841D #39841D
triadic
#6C841D #1D6C84 #841D6C
tetradic
#6C841D #1D8469 #351D84 #841D39
square
#6C841D #1D8469 #351D84 #841D39
split-complementary
#6C841D #1D3984 #691D84
monochromatic
#1A2007 #435212 #6C841D #95B628 #B4D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C841D#FFFFFF#000000##000000
##6C841D1.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)
#8C7C04
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#727D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c841d;
/* rgb */ color: rgb(108, 132, 29);
/* oklch */ color: oklch(57.5% 0.128 122.3);
Tailwind
colors: {
  custom: {
    50: '#99a762',
    500: '#6c841d',
    950: '#000000',
  },
}
SCSS
$custom: #6c841d;
$custom-light: #99a762;
$custom-dark: #000000;
JSON
{
  "hex": "#6c841d",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 73.981,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.12772,
    "h": 122.3
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#6C841D
secondary
#6046B7
accent
#41E768
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C841D

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

Preview Lab → · Contrast checker → · Palette generator →

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