#6D841C#6D841C

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

Color values

HEX#6D841C
RGBrgb(109, 132, 28)
HSLhsl(73, 65%, 31%)
HSVhsv(73, 79%, 52%)
CMYKcmyk(17.4%, 0%, 78.8%, 48.2%)
CIE-LABlab(51.65, -22.81, 49.34)
CIE-LCHlch(51.65, 54.36, 114.81°)
OKLaboklab(57.55% -0.0673 0.1087)
OKLCHoklch(57.55% 0.128 121.8)
XYZxyz(14.7678, 19.8376, 4.1494)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D841C #331C84
analogous
#84671C #6D841C #39841C
triadic
#6D841C #1C6D84 #841C6D
tetradic
#6D841C #1C8467 #331C84 #841C39
square
#6D841C #1C8467 #331C84 #841C39
split-complementary
#6D841C #1C3984 #671C84
monochromatic
#1A1F07 #435211 #6D841C #97B627 #B6D743

Accessibility & contrast

On white

4.23
#6D841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6D841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D841C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D841C#FFFFFF#000000##000000
##6D841C1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C02
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#737D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6d841c;
/* rgb */ color: rgb(109, 132, 28);
/* oklch */ color: oklch(57.5% 0.128 121.8);
Tailwind
colors: {
  custom: {
    50: '#9aa761',
    500: '#6d841c',
    950: '#000000',
  },
}
SCSS
$custom: #6d841c;
$custom-light: #9aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#6d841c",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 73.269,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.12782,
    "h": 121.8
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#6D841C
secondary
#5E45B7
accent
#40E865
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6D841C

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

Preview Lab → · Contrast checker → · Palette generator →

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