#6B842E#6B842E

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

Color values

HEX#6B842E
RGBrgb(107, 132, 46)
HSLhsl(77, 48%, 35%)
HSVhsv(77, 65%, 52%)
CMYKcmyk(18.9%, 0%, 65.2%, 48.2%)
CIE-LABlab(51.64, -22.51, 42.11)
CIE-LCHlch(51.64, 47.74, 118.12°)
OKLaboklab(57.54% -0.0646 0.0964)
OKLCHoklch(57.54% 0.116 123.8)
XYZxyz(14.8079, 19.8255, 5.6308)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B842E #472E84
analogous
#84722E #6B842E #40842E
triadic
#6B842E #2E6B84 #842E6B
tetradic
#6B842E #2E8472 #472E84 #842E40
square
#6B842E #2E8472 #472E84 #842E40
split-complementary
#6B842E #2E4084 #722E84
monochromatic
#21290E #46571E #6B842E #90B13E #ABC964

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B842E#FFFFFF#000000##000000
##6B842E1.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)
#8B7C23
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#707E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b842e;
/* rgb */ color: rgb(107, 132, 46);
/* oklch */ color: oklch(57.5% 0.116 123.8);
Tailwind
colors: {
  custom: {
    50: '#98a76b',
    500: '#6b842e',
    950: '#000000',
  },
}
SCSS
$custom: #6b842e;
$custom-light: #98a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b842e",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 77.442,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.1161,
    "h": 123.8
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#6B842E
secondary
#765EB0
accent
#50D877
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6B842E

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

Preview Lab → · Contrast checker → · Palette generator →

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