#6D842E#6D842E

#6D842E is a mid, moderate yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.115 H 122.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6D842E
RGBrgb(109, 132, 46)
HSLhsl(76, 48%, 35%)
HSVhsv(76, 65%, 52%)
CMYKcmyk(17.4%, 0%, 65.2%, 48.2%)
CIE-LABlab(51.78, -21.65, 42.30)
CIE-LCHlch(51.78, 47.52, 117.11°)
OKLaboklab(57.69% -0.0624 0.0968)
OKLCHoklch(57.69% 0.115 122.8)
XYZxyz(15.0512, 19.9509, 5.6422)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D842E #452E84
analogous
#84702E #6D842E #42842E
triadic
#6D842E #2E6D84 #842E6D
tetradic
#6D842E #2E8470 #452E84 #842E42
square
#6D842E #2E8470 #452E84 #842E42
split-complementary
#6D842E #2E4284 #702E84
monochromatic
#22290E #48571E #6D842E #92B13E #AEC964

Accessibility & contrast

On white

4.21
#6D842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6D842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D842E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D842E#FFFFFF#000000##000000
##6D842E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C23
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#727D72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6d842e;
/* rgb */ color: rgb(109, 132, 46);
/* oklch */ color: oklch(57.7% 0.115 122.8);
Tailwind
colors: {
  custom: {
    50: '#99a76b',
    500: '#6d842e',
    950: '#000000',
  },
}
SCSS
$custom: #6d842e;
$custom-light: #99a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d842e",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 76.047,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.11518,
    "h": 122.8
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#6D842E
secondary
#745EB0
accent
#50D874
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6D842E

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

Preview Lab → · Contrast checker → · Palette generator →

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