#6F7940#6F7940

#6F7940 is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 55.4% C 0.081 H 117.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6F7940
RGBrgb(111, 121, 64)
HSLhsl(71, 31%, 36%)
HSVhsv(71, 47%, 47%)
CMYKcmyk(8.3%, 0%, 47.1%, 52.5%)
CIE-LABlab(48.79, -13.22, 29.88)
CIE-LCHlch(48.79, 32.67, 113.88°)
OKLaboklab(55.39% -0.0371 0.0718)
OKLCHoklch(55.39% 0.081 117.3)
XYZxyz(14.3184, 17.4245, 7.4585)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7940 #4A4079
analogous
#796740 #6F7940 #537940
triadic
#6F7940 #406F79 #79406F
tetradic
#6F7940 #407967 #4A4079 #794053
square
#6F7940 #407967 #4A4079 #794053
split-complementary
#6F7940 #405379 #674079
monochromatic
#262916 #4A512B #6F7940 #94A155 #AEB97A

Accessibility & contrast

On white

4.68
#6F7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6F7940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7940
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7940#FFFFFF#000000##FFFFFF
##6F79401.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#7F7443
Tritanopia (blue-blind)
#74746C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7940;
/* rgb */ color: rgb(111, 121, 64);
/* oklch */ color: oklch(55.4% 0.081 117.3);
Tailwind
colors: {
  custom: {
    50: '#999f76',
    500: '#6f7940',
    950: '#000000',
  },
}
SCSS
$custom: #6f7940;
$custom-light: #999f76;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7940",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 70.526,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.08083,
    "h": 117.3
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#6F7940
secondary
#7A71A4
accent
#61C773
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0E0E08
muted
#7E7E7B

Preview Lab

Preview with #6F7940

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

Preview Lab → · Contrast checker → · Palette generator →

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