#6B782F#6B782F

#6B782F is a mid, moderate yellow-green. Relative luminance 0.168; OKLCH L 54.6% C 0.099 H 118.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6B782F
RGBrgb(107, 120, 47)
HSLhsl(71, 44%, 33%)
HSVhsv(71, 61%, 47%)
CMYKcmyk(10.8%, 0%, 60.8%, 52.9%)
CIE-LABlab(47.96, -16.16, 37.60)
CIE-LCHlch(47.96, 40.93, 113.25°)
OKLaboklab(54.58% -0.0468 0.087)
OKLCHoklch(54.58% 0.099 118.3)
XYZxyz(13.2932, 16.7641, 5.2243)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B782F #3C2F78
analogous
#78602F #6B782F #46782F
triadic
#6B782F #2F6B78 #782F6B
tetradic
#6B782F #2F7860 #3C2F78 #782F46
square
#6B782F #2F7860 #3C2F78 #782F46
split-complementary
#6B782F #2F4678 #602F78
monochromatic
#1D200D #444C1E #6B782F #92A440 #B0C160

Accessibility & contrast

On white

4.82
#6B782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6B782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B782F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B782F#FFFFFF#000000##FFFFFF
##6B782F1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#717268
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b782f;
/* rgb */ color: rgb(107, 120, 47);
/* oklch */ color: oklch(54.6% 0.099 118.3);
Tailwind
colors: {
  custom: {
    50: '#979f6b',
    500: '#6b782f',
    950: '#000000',
  },
}
SCSS
$custom: #6b782f;
$custom-light: #979f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b782f",
  "rgb": {
    "r": 107,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 70.685,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.09883,
    "h": 118.3
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#6B782F
secondary
#695BA8
accent
#54D36B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #6B782F

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

Preview Lab → · Contrast checker → · Palette generator →

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