#6C841C#6C841C

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

Color values

HEX#6C841C
RGBrgb(108, 132, 28)
HSLhsl(74, 65%, 31%)
HSVhsv(74, 79%, 52%)
CMYKcmyk(18.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(51.58, -23.24, 49.25)
CIE-LCHlch(51.58, 54.46, 115.27°)
OKLaboklab(57.47% -0.0684 0.1085)
OKLCHoklch(57.47% 0.128 122.2)
XYZxyz(14.6454, 19.7745, 4.1437)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C841C #341C84
analogous
#84681C #6C841C #38841C
triadic
#6C841C #1C6C84 #841C6C
tetradic
#6C841C #1C8468 #341C84 #841C38
square
#6C841C #1C8468 #341C84 #841C38
split-complementary
#6C841C #1C3884 #681C84
monochromatic
#191F07 #435211 #6C841C #95B627 #B5D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C841C#FFFFFF#000000##000000
##6C841C1.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)
#8C7B02
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#727D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c841c;
/* rgb */ color: rgb(108, 132, 28);
/* oklch */ color: oklch(57.5% 0.128 122.2);
Tailwind
colors: {
  custom: {
    50: '#99a761',
    500: '#6c841c',
    950: '#000000',
  },
}
SCSS
$custom: #6c841c;
$custom-light: #99a761;
$custom-dark: #000000;
JSON
{
  "hex": "#6c841c",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 73.846,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.12829,
    "h": 122.2
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#6C841C
secondary
#5F45B7
accent
#40E867
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C841C

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

Preview Lab → · Contrast checker → · Palette generator →

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